state main memobox url memobox memobox_id templateUrl src templates le

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
.state('main.memobox', {
url: '/memobox/:memobox_id',
templateUrl: 'src/templates/legal/memobox.html',
controller: 'SubMatterController as subMatterController'
})
.state('main.memobox.feed', {
templateUrl: 'src/templates/feed/feed.html',
controller: 'FeedController as feedController',
resolve: {
subMatter: ['$stateParams', function($stateParams) {
return $stateParams.subMatter;
}],
user: ['$stateParams', function($stateParams) {
return $stateParams.user;
}]
},
params: {subMatter: null, user: null}
});