angular-mobile-nav icon indicating copy to clipboard operation
angular-mobile-nav copied to clipboard

UI Router support?

Open roymj88 opened this issue 10 years ago • 0 comments

Hi,

I am trying to implement this in my angular application which uses ui-router. I am not able to get this to work. Error in console is

https://docs.angularjs.org/error/$injector/unpr?p0=$routeProvider%20%3C-%20$route%20%3C-%20$navigate

After some research, I changed the following :

  1. routeChangeSuccess to stateChangeSuccess
  2. Removed device ready function for testing in browser

Ive injected the module as follows:

@mobileApp = angular.module("mobileApp", ["ui.router", "snap", "ngResource", "ngStorage", "ngTouch", "angularMoment", "ajoslin.promise-tracker", "underscore", "ngRetina", "ngSanitize", "ngAnimate", "http-auth-interceptor", "ngCookies", "pickadate", "mobiscroll-datetime", "mobiscroll-rangepicker", "mobiscroll-select", "ui.bootstrap", "ajoslin.mobile-navigate"])

Also included the file mobile-nav.js

Any insight?

P.S : I am using UI-Router. Does this plugin support ui-router?

roymj88 avatar Aug 19 '14 10:08 roymj88