Re:Little-known directives of Angular.js
by sheerun on Wednesday November 06, 2013 @01:45PM
(#6684528)
I like your description. Indeed one of the best things about ui-view is that states can be inherited.
Say you want to load search.results.details, and it will render search page first, then results inside, then details.
Also, in sub-states you can use templates defined in parent-state template. It means you don't need to render cache templates all at once. Just for sub-states.
Say you want to load search.results.details, and it will render search page first, then results inside, then details.
Also, in sub-states you can use templates defined in parent-state template. It means you don't need to render cache templates all at once. Just for sub-states.