I am trying to understand what exactly the parent attribute inside the state directive in UI-Router does.
For example, if I have:
$stateProvider
.state('base', {
abstract: true,
url: '',
templateUrl: 'views/base.html'
})
.state('login', {
url: '/login',
parent: 'base',
templateUrl: 'views/login.html',
controller: 'LoginCtrl'
})
When I´m inside the login state, what things of the "base" parent will I have at my disposal? The template, its scope, what exactly? What does the abstract attribute of the "base" state do?