UI-Router evolves the concept of an AngularJS Route into a more general concept of a State for managing complex application UI states. Most notably, it allows nested state/view hierarchies and multiple named views.

learn more… | top users | synonyms

3
votes
0answers
246 views

Unit-test of ui-router: after $state.transitionTo() unable to get $state.current to contain current state

I am trying to write unit-test for ui-router's state and can not get it to work so that $state.current would contain a correct state inside the controller after I call $state.transitionTo() inside ...
2
votes
0answers
324 views

How to manage state with the ui-router with multiple modules

I have an app page with 3 columns. The middle column is the main activity and is always displayed. The two side columns are widget lists, that have their own controller and states, and can be either ...
1
vote
0answers
77 views

Debug slow angular-ui-router state change on Mobile Safari

I'm writing an angular app, using angular-ui-router to manage states / routing. On desktop browsers (Chrome / Safari) this is working fine. However, on Mobile Safari on IOS 6 on iPhone 4 (and to a ...
1
vote
0answers
116 views

angular-ui-router dynamic menu: TypeError: Cannot call method 'match' of undefined while rendering menu

i am new to angular and angular-ui-router and trying to create a menu. I tried angular-ui-router and think that it fits for my needs. now i have a problem while creating the menu with the ui-router ...
1
vote
0answers
40 views

Are some kind of rule-based states possible in $stateProvider?

I'm converting an AngularJS application from ng-view to ui-view, and thus from $routeProvider to $stateProvider. My $routeProvider used to have approx. 100 when entries. For around 20 or so domain ...
1
vote
0answers
50 views

browser().navigateTo hangs if $state.transitionTo is called

If I call $state.transitionTo() inside the setup for a controller, e.g. to canonicalize the URL, this causes browser().navigateTo() to hang permanently if the action changes the local state of an URL. ...
1
vote
0answers
344 views

AngularJS ui-router state doesn't refresh on back

I have an app setup with 2 states, A and A.B done this way: $stateProvider.state('A', { url: "/A/{aId}", controller: 'AController', templateUrl: function($stateParams) { ...
1
vote
0answers
117 views

(Angular-ui-router) Show loading animation during resolve process

This is a two part question: I am using the resolve property inside $stateProvider.state() to grab certain server data before loading the controller. How would I go about getting a loading animation ...
1
vote
0answers
162 views

Confused in how to implement tab based app with angular ui-router (like gmail)

I was thinking last night about how to port our crud application to a tab based app, like gmail. First, reading a lot about ui-router, i thought in create a tabService that will create a new tab for ...
1
vote
0answers
238 views

Angularjs ui-router: Rewrite location with default parameter resolved

I have multiple nested states. Let's say: departments: /departments/:idDepartment departments.group: /group/:idGroup departments.group.category: /category/:idCategory Each state has a resolve to ...
0
votes
0answers
11 views

Routing to Tab based interface with

I read a lot of issues on the Github page of ui-router and i decided to get some input (sry for one more tab example) I am creating an interface which is based on tabs (based on angular-ui). I have ...
0
votes
0answers
24 views

How to navigate to a child state using paramters from a factory using Angular.js and ui-router?

I'm trying to get angular ui-router to navigate to a child state using a parameter supplied by a factory which has a default parameter at the start in order to preserve the parameters across the app. ...
0
votes
0answers
84 views

Multiple Nested ui-views with ui-router and AngularJS

I just want to start by saying I looked through as many stack overflow questions related to this issue as I could find and I haven't seen any questions in regards to the issue I'm having. Some are ...
0
votes
0answers
41 views

Resolve $http request before running app and switching to a route or state

I have written an app where I need to retrieve the currently logged in user's info when the application runs, before routing is handled. I use ui-router to support multiple/nested views and provide ...
0
votes
0answers
44 views

how to scroll to the loaded ui-view

I have a ui-view inside of my page. When some button is clicked, the ui-view is loaded and replaced by some HTML. I want the page to be scrolled down to the just-loaded part of the page. Is this ...

15 30 50 per page