Angular-ui-router 0.3.2 doesn't work correct with components

只愿长相守 提交于 2020-01-07 02:56:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!