mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2025-01-10 05:24:24 +01:00
21 lines
538 B
JavaScript
21 lines
538 B
JavaScript
|
// Sub-application/main Level State
|
||
|
app.config(['$stateProvider', function($stateProvider) {
|
||
|
|
||
|
$stateProvider
|
||
|
.state('app.home', {
|
||
|
url: '/home',
|
||
|
templateUrl: 'js/main/templates/home.tpl.html',
|
||
|
controller: 'HomeCtrl'
|
||
|
})
|
||
|
.state('app.about', {
|
||
|
url: '/about',
|
||
|
templateUrl: 'js/main/templates/about.tpl.html',
|
||
|
controller: 'AboutCtrl'
|
||
|
})
|
||
|
.state('app.contact', {
|
||
|
url: '/contact',
|
||
|
templateUrl: 'js/main/templates/contact.tpl.html',
|
||
|
controller: 'ContactCtrl'
|
||
|
});
|
||
|
|
||
|
}]);
|