--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -1,21 +1,22 @@
'use strict';
-angular.module('tut.c2net', [
- 'op.dynamicDirective',
- 'ui.router'
-])
+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-menu-hello-world', {priority: 28});
+ var helloworld = new dynamicDirectiveServiceProvider.DynamicDirective(true, 'application-test', {priority: 28});
dynamicDirectiveServiceProvider.addInjection('esn-application-menu', helloworld);
$stateProvider
.state('c2net', {
- url: '/c2net',
+ url: '/notifications',
templateUrl: '/c2net/views/index.html',
- controller: 'helloWorldController'
+ controller: 'c2netNotificationController'
});
}
]);