1👍
✅
Auth is an abstract state, so it is not loaded directly. Instead it is a ‘parent’ state, in which the substates are loaded into.
Think of it like this:
Auth
- login
- reset
The login and reset states load into the auth abstract view. Since the templateUrl is set on the abstract view, the templates for login and reset load into the ui-view set on the abstract view, which is main.html.
As far as your URL loading goes, it hits the login state because the url /home
is not set, so the following line triggers.
$urlRouterProvider.otherwise('/login');
Source:stackexchange.com