Tim Kindberg on Angular UI-Router

Launch Scout · 70K views · 2013 · 50:41

Open on YouTube

Web developmenttalkdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering Angular routing questions, especially about ui-router versus ngRoute, nested states and per-route layouts.

Recommended by 3 people across 3 different months, 2014 to 2016.

What it is

A 50-minute talk by Tim Kindberg, a developer of Angular UI-Router, explaining how the library works. It covers nested views and states and how they differ from Angular's built-in ngRoute. Published by Launch Scout in 2013.

What people said

Recommends Ed B · 2014-07 · Stack Overflow · on “Angular UI Route- Changes the url with state”

If you want to change state without also changing the URL it's as simple as just omitting the url parameter from the relevant state: $stateProvider .state('ManageUser', { url: '/manager-user', templateUrl: '/app/user/manage_users.html' }) .state('ManageUserSetting', { templateUrl: '/app/user/settings_normal.html' // url is still '/manager-user/' }); That said, in most cases when using angular-ui-router you will want to change the URL. The main purpose of angular-ui-router is to be able to nest views [LINK] and then be able link directly to those view states . ( Watch this video [this video] for an explanation on the differences between ui-router and ngRoute ) If in the case which you describe abo

Recommends Code Whisperer · 2014-08 · Stack Overflow · on “UI-Router: sequential resolve of parent and child states”

Sorry this is the best I have: here's an hour long video where the inventor of Ui-Router explains the whole thing, I think he mentions how to deal with this: [this video]

Recommends Rishi Tiwari · 2016-11 · Stack Overflow · on “ngroute change master page for specific route”

If you want different Layout for different routes than I guess you have to switch from ngRoute to uiRouter as uiRouter is more flexible in terms of creating routes and associating views to it. There is a very nice tutorial given by Tim Kindberg on youtube for the same, I am sharing the link below just go through it. Link: [this video]

Cites flaky · 2014-06 · Stack Overflow · on “Handle State as new Route in Ionic Framework with Angular UI-Router”

don't know if this is still relevant as it was posted February and I'm by no means a ng-pro but here is my attempt JSBinLink [LINK] Two major things I did where to wrap the content in ion-tabs and add it in the stateProvider as an abstract state. With this construct you have two independent tabs "Home", "About" - notice, no back button. However if you navigate to "Tom" within "About" - you get a back button. There are other ways to achieve something similar, one is to create child states and such. I would recommend to check out the UI-Routers documentation. It's mostly well written and very informative - there is also a create video of Tom Kindberg explaining the main concepts of it over her