Move states in separate files.

This commit is contained in:
Alexis Lahouze
2017-07-24 18:48:57 +02:00
parent 7b7f72bf1e
commit a7cee2891c
4 changed files with 41 additions and 26 deletions

View File

@ -0,0 +1,17 @@
// vim: set tw=80 ts=2 sw=2 sts=2 :
import { ScheduleComponent } from './schedule.component';
export const ScheduleListState = {
name: 'scheduler',
url: '/account/:accountId/scheduler',
component: 'scheduleComponent',
resolve: {
accountId: function($transition$) {
return $transition$.params().accountId;
},
$modal: function($modal) {
return $modal;
}
}
}