This project was generated with angular-cli version 1.0.0-beta.30.
Created an app using angular-cli.
Added UI-Router
Added an @Input()
to the AppComponent
Added a route with a resolve
UI-Router queries the data added by @Input()
to map the resolve to the component input.
This works: ng serve
This doesn't work: ng serve --aot
This doesn't work: ng serve --prod