mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2025-01-14 08:01:07 +01:00
20 lines
470 B
JavaScript
20 lines
470 B
JavaScript
// Sub-application/main Level State
|
|
app.config( [ '$stateProvider', '$urlRouterProvider',
|
|
function ( $stateProvider, $urlRouterProvider ) {
|
|
$stateProvider
|
|
.state( 'app', {
|
|
url: '',
|
|
views: {
|
|
'main': {
|
|
templateUrl: 'js/templates/dashboard.html',
|
|
controller: 'DashboardCtrl'
|
|
}
|
|
}
|
|
} )
|
|
.state( '404', {
|
|
url: '/404',
|
|
templateUrl: 'js/templates/404.html'
|
|
} );
|
|
|
|
}
|
|
] );
|