问题
0.3.2 is a new version of ui-router ui-router releases
I have tested it and looks like it doesn't work correct. Please take a look this example. Console output - Unknown provider: $uiRouterProvider <- $uiRouter
回答1:
We just wrote a comprehensive blog post about components and ui router. It may help with both your current situation and the future upgrade to ui.router 1.0.
http://blog.aviture.us.com/2017/01/03/ui-routing-to-components-in-angular.html
来源:https://stackoverflow.com/questions/40575749/angular-ui-router-0-3-2-doesnt-work-correct-with-components