One question about angular-ui-router.js in package


#1

I have a question about the angular-ui-router.js in ionic package.

Is this the router.js file form original AngularJS angular-route.js??

If i want use the AngularJS Router function, do i need to load the angular-route.js model by myself???

Wish anybody can answer my question… Thanks in advance


#2

ionic package use angular ui router which is different from ng router

var IonicModule = angular.module('ionic', ['ngAnimate', 'ngSanitize', 'ui.router']),

So if you need ng router then you need to load it separately.


#3

Thanks for your comment. is there have any document about “ui.router”?? i did not found any informations in this website


#4

Here is the github link https://github.com/angular-ui/ui-router
and the documentation link http://angular-ui.github.io/ui-router/site/#/api/ui.router
The github wiki is also very useful to get started https://github.com/angular-ui/ui-router/wiki