ui-router Named Views

Share this video with your friends

Send Tweet

The ui-router library for AngularJS provides the ability to name views within your application. This is useful for dividing up your application into sections, and changing the content of a section based on the current state.

Gianni Liburdi
Gianni Liburdi
~ 10 years ago

You make my day!!! ;)

roy lee
roy lee
~ 10 years ago

From the example, the author has added '@' on 'content' view: 'content@' for its view to be shown on root's template. Here's my question, correct me if I'm wrong, isn't having 'content' as view name on 'app.alt-one' state is sufficient to override root's template's 'content' view?

Ali Gajani
Ali Gajani
~ 9 years ago

Guys, any idea for this one: http://stackoverflow.com/questions/32621313/refreshing-page-on-child-state-shows-a-blank-page-in-ui-router?noredirect=1#comment53538633_32621313