I'm learning
In my case I use ionic for the development of hybrid mobile applications, which is based on angular; of step they recommend to use the ionicbundle.js , which is like a kind of package that gathers all the libraries that uses ionic
, angular
, angular-ui
, among others, I hope it serves you.
And most importantly, otherwise
does not use {redirectTo:"ruta"}
but only the string with the route, for example:
$urlRouterProvider.otherwise("/login");
$stateProvider
.state('login', {
url: '/login',
templateUrl: "Templates/login.html",
controller: "formulario"
});