Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nested views vs. nested states

I read the ui-router docs but I didn't understand what is the different between nested views and nested states and how its related to scope inheritance.

Thank!

like image 409
einav Avatar asked Oct 20 '22 00:10

einav


1 Answers

One state may have few views. Your app may be in one one state at the moment. But display many views at the moment.

So to me views is a sort of children of states if to put it into simple words.

like image 162
Sergey Romanov Avatar answered Oct 23 '22 01:10

Sergey Romanov