angularjs - ui-router states that have different views -
There are several pages in my app, and each one has their own view
States:
Post to log in posts. Post in urban cities. Post
I put "Post Post" and "Cities Post" to be the sons of posts and cities because I want to be able to click back and go to the reference page.
The "post" page is exactly the same: posts.post, cities.post
But when I inherit this post the pictures of cities or posts, and I Because it has its own unique view
Did you name your states instead of dot contion Have tried another method to give?
There are several ways of nesting states:
- Use a nested state tree to build a UI-router.thet shelter. Courtesy of @marklagendijk
- Using the original property with the original name in the form of a string, for example: Parent: 'Contact'
- Using Basic Assets with Parent Objects Example Parent (s): Contact (where 'Contact' is a state object)
Comments
Post a Comment