Using $routeProvider with $stateProvider

前端 未结 1 654
广开言路
广开言路 2021-01-04 21:10

in beginning I was just using $routeProvider as follows and it was giving me what I wanted.

angular.module(\'angularProject\', [\'angularProject.filters\', \         


        
相关标签:
1条回答
  • 2021-01-04 21:24

    I don't think it's possible and I don't think that ui.router was built to be used with ngRoute.
    According to the ui-router docs, you should use ui-router's own implementation of $routeProvider, called $urlRouterProvider.

    0 讨论(0)
提交回复
热议问题