opdahlmann / ng2-opd-popup-sample

4 stars 13 forks source link

Getting error while creating popup #8

Open vartikadhawan16 opened 7 years ago

vartikadhawan16 commented 7 years ago

Unhandled Promise rejection: Template parse errors: 'popup' is not a known element:

  1. If 'popup' is an Angular component, then verify that it is part of this module.
  2. If 'popup' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("<img [src] = "imageUrl"/> <button (onclick) = "showPopUp()">Change Image [ERROR ->] Add your custom html elements here "): AppComponent@2:0 ; Zone: ; Task: Promise.then ; Value: SyntaxError {__zone_symbol__error: Error: Template parse errors: 'popup' is not a known element:
  3. If 'popup' is an Angular component,……} Error: Template parse errors: 'popup' is not a known element:
  4. If 'popup' is an Angular component, then verify that it is part of this module.
  5. If 'popup' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("<img [src] = "imageUrl"/> <button (onclick) = "showPopUp()">Change Image [ERROR ->] Add your custom html elements here
john-md86 commented 6 years ago

Did you solve the problem?