Update to Angular2 2.0.0-rc.5, run in browser without any warning, but when try AOT compile with ngc -p
command, get the flowing error:
Here is my
All these errors are related to AoT. This blog post explains the changes to be made in your code.
Making your Angular 2 library statically analyzable for AoT