An example of using the UI-Router (https://github.com/angular-ui/ui-router) with a login page.