Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 799 Bytes

Angular-routing.md

File metadata and controls

21 lines (12 loc) · 799 Bytes

Routing with UI router

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.

Activating a state

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.

How to user a query string ?