diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/app-inject-14.js | 5 | ||||
-rw-r--r-- | js/app/App.js | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/js/app-inject-14.js b/js/app-inject-14.js deleted file mode 100644 index 20976dacc..000000000 --- a/js/app-inject-14.js +++ /dev/null @@ -1,5 +0,0 @@ -$('#content.app-news') - .attr('ng-app', 'News') - .attr('ng-cloak', '') - .attr('ng-strict-di', '') - .attr('ng-controller', 'AppController as App');
\ No newline at end of file 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']); |