-
Notifications
You must be signed in to change notification settings - Fork 1
Angular routing
Sébastien LUCAS edited this page Apr 24, 2015
·
6 revisions
With this approach, your views and routes aren’t tied down to the site URL. This way, you can change the parts of your site using your routing even if the URL does not change.
- https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views#view-names---relative-vs-absolute-names
- http://www.funnyant.com/angularjs-ui-router/
There are three main ways to activate a state:
- Call $state.go(). High-level convenience method. Learn More
- Click a link containing the ui-sref directive. Learn More
- Navigate to the url associated with the state. Learn More.