angular2-image-popup
angular2-image-popup copied to clipboard
Error: Uncaught (in promise): No Directive annotation found on ImageModal
Hello, Could you tell me what is the cause of this error: Error: Uncaught (in promise): No Directive annotation found on ImageModal ?
I imported directive and added to component: import { ImageModal } from 'angular2-image-popup/directives/angular2-image-popup/image-modal-popup'; @Component({ .... directives: [ImageModal], .... }) But it does not work.