I'm planning to use AngularJS in my big applications.
(我打算在我的大型应用程序中使用AngularJS。)
So I'm in the process to find out the right modules to use. (所以我正在寻找合适的模块。)
What is the difference between ngRoute (angular-route.js) and ui-router (angular-ui-router.js) modules?
(ngRoute(angular-route.js)和ui-router(angular-ui-router.js)模块有什么区别 ?)
In many articles when ngRoute is used, route is configured with $routeProvider .
(在使用ngRoute的许多文章中,使用$ routeProvider配置路由。)
However, when used with ui-router , route is configured with $stateProvider and $urlRouterProvider . (但是,当与ui-router一起使用时 ,路由配置为$ stateProvider和$ urlRouterProvider 。)
Which module should I use for better manageability and extensibility?
(我应该使用哪个模块来提高可管理性和可扩展性?)
ask by Premchandra Singh translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…