Parent: [146b7d] (diff)

Download this file

app.js    23 lines (20 with data), 766 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
'use strict';
angular.module('tut.c2net', [ 'op.dynamicDirective',
'ui.router',
'esn.user-notification',
'esn.websocket'
])
.config([
'$stateProvider',
'dynamicDirectiveServiceProvider',
function($stateProvider, dynamicDirectiveServiceProvider) {
var helloworld = new dynamicDirectiveServiceProvider.DynamicDirective(true, 'application-test', {priority: 28});
dynamicDirectiveServiceProvider.addInjection('esn-application-menu', helloworld);
$stateProvider
.state('c2net', {
url: '/notifications',
templateUrl: '/c2net/views/index.html',
controller: 'c2netNotificationController'
});
}
]);