Skip to content

Inheritance from parent states #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
timkindberg opened this issue Jun 29, 2013 · 2 comments
Closed

Inheritance from parent states #211

timkindberg opened this issue Jun 29, 2013 · 2 comments
Assignees

Comments

@timkindberg
Copy link
Contributor

@ksperling is the Inheritance from Parent States section example valid? https://github.com/angular-ui/ui-router/wiki/Nested-States-%26-Nested-Views

Would the example work? Also can you elaborate/share any nuances of what is and isn't Inherited as well as any caveats you may know if?

I'd like to flesh out this section to reduce confusion but I'm not well informed on the matter.

@ksperling
Copy link
Contributor

I guess as it stands the text isn't quite correct. A view's scope inherits from the scopes of it's containing views, so as long as views are nested in the same way as the states. There isn't any explicit inheritance that $state sets up at this point.

Resolve inheritance is meant to work but currently doesn't (#73).

@ghost ghost assigned timkindberg Jun 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants