Skip to content

UI Router support? #91

@roymj88

Description

@roymj88

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions