AngularJS UI Router: Understanding 'Resolve'

preview_player
Показать описание
-What is "Resolve" attribute
-Resolving vs. not Resolving
-What are "Resolved Results" (or data)
-What is execution workflow of UI Router state (4 different workflows)
-onEnter and onExit events
-How is it used with AngularJS UI Router State Configuration
-How to load data before switching to a State/Route
-How to pass Resolved Data to Controller
-What events are raised when "Resolve" is completed
Рекомендации по теме
Комментарии
Автор

Looking for a well structured and intermediate level angular JS course. Finally my search ends here. Well impressed with your AngularJS indepth knowledge and way of presentation. Thanks for the wonderful course for free.

abhishektiwari
Автор

This is excellent. I built simple Node.js endoints to match routes and everything worked perfectly. Thank you for sharing.

natasapeic
Автор

Awesome explanation with slides and code... Very nice...

stephena
Автор

Slides that you prepared are really awesome!

Nikhilkumar-qdoq
Автор

Sir, I think in the diagram of '$state.go - workflow with Resolve' right after Jump/load route it should be $stateChangeSuccess instead of $routeChangeSuccess. BTW, thank you for your invaluable tutorials.

amaryadav
Автор

First of all, thank you for making such an wonderful channel for technology knowledge sharing.

Some suggestions:

---> It can be more interesting if you have some logical or conceptual naming conventions for the variable name and some of the functions.

Overall, Its an best among the testimonials on the floor for this concept.

Slides and descriptions of concepts are one great plus points.

bhuvanesh
Автор

awesome, do you have some example for authorization using ui router ?

andresguillenhernandez
Автор

So how can I resolve something when finishes an ui-view, lets say that I have an internal ui-view called parent that is the parent structure of my bootstraping, how can run something only after my ui-view="parent" ?

I tried:
resolve: {
parent: [() => {
console.log('parent resolved')
}]
}

RafaelMendes-ywjm
Автор

Great tutorial... Please make video on restangular service

kurupudiveeradurga
Автор

When u switching from calculator to add, then clicking back button, then the input data (a, b text boxes ) not retaining the value what u have entered, how to deal with that .??

priyankaravichandran
Автор

please make a video about a session storage and ng-cookies.
Thanx in advance.

prinshusinghsomvanshi
Автор

is there any reference of
abstract  : ture
property of ui-router

subhajitpanja