diff options
Diffstat (limited to 'js-old/app/App.js')
-rw-r--r-- | js-old/app/App.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/js-old/app/App.js b/js-old/app/App.js new file mode 100644 index 000000000..9e4ee5621 --- /dev/null +++ b/js-old/app/App.js @@ -0,0 +1,18 @@ +/** + * Nextcloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Bernhard Posselt <dev@bernhard-posselt.com> + * @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']); |