Angular Ui-router Works With Template But Not Component
I am attempting to use angular-ui-router on an angular 1 project. The issue that I'm running into is that I can get angular-ui-router to work when I specify a template, but not whe
Solution 1:
Refer to this question: Angular - UI.Router not loading component
Looks like you are using 0.3.x as per your package.json, which won't work. Upgrade to 1.0.0 and try please.
component attribute is available from ui-router@1.0.0(see here and in CHANGELOG.MD - it was added in 1.0.0-aplpha) so it's not available 0.3.1
Post a Comment for "Angular Ui-router Works With Template But Not Component"