Transition Using ui-sref

We can easily transition between states using ui-sref directive:

  <button ui-sref="tasks">Go to tasks</button>