einav
einav

Reputation: 609

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!

Upvotes: 5

Views: 249

Answers (1)

Sergey Romanov
Sergey Romanov

Reputation: 3080

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.

Upvotes: 3

Related Questions