this.applicationRef.attachView is not a function
hello, can you please help for this error?
Thanks
Hi ashlesha86, i think you are using an older angular 2 version. You should try to update to the newest version.
I have the same problem running angular 2.4.3.
Please see https://github.com/ankosoftware/ng2-bootstrap-modal/tree/master/demo or https://plnkr.co/edit/MB6NnzfhicMyAiMJy6YM?p=preview to check what you are doing wrong. Or give me some details.
I had the same problem, then upgrade to angular 2.4.9, and this problem is gone. After a lot of struggle with upgrading corresponding components, my npm start finally shows no error. However, my webpage doesn't show up and the console error message looks like this
Uncaught NoAnnotationError {_nativeError: ZoneAwareError}
Any idea?