summaryrefslogtreecommitdiffstats
path: root/js/app/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/App.js')
-rw-r--r--js/app/App.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/app/App.js b/js/app/App.js
index c1e4d667d..4c1e553de 100644
--- a/js/app/App.js
+++ b/js/app/App.js
@@ -8,5 +8,11 @@
* @copyright Bernhard Posselt 2014
*/
+$('#content.app-news')
+ .attr('ng-app', 'News')
+ .attr('ng-cloak', '')
+ .attr('ng-strict-di', '')
+ .attr('ng-controller', 'AppController as App');
+
/* jshint unused: false */
var app = angular.module('News', ['ngRoute', 'ngSanitize', 'ngAnimate']);