source: main/trunk/model-interfaces-dev/heritage-nz/iframe/heritage-nz-dl_files/app.js@ 32796

Last change on this file since 32796 was 32796, checked in by davidb, 5 years ago

Initial set of files to provide look and feel of Heritage NZ site, plus SVN clickable map in an iframe

  • Property svn:executable set to *
File size: 915 bytes
Line 
1// http://briantford.com/blog/huuuuuge-angular-apps.html
2// http://cliffmeyers.com/blog/2013/4/21/code-organization-angularjs-javascript
3
4// Declare all modules and their dependancies
5angular.module('nzhptApp', ['mobileNav', 'mapModule', 'forms', 'search', 'reusableDirectives', 'vcRecaptcha', 'ngSanitize', 'ngAnimate', 'filters', 'helper'])
6 .constant('_', window._)
7 .run(['$window', '$rootScope', function ($window, $rootScope) {
8 $rootScope._ = window._;
9 $window.FastClick.attach(document.body);
10 }]);
11angular.module('mobileNav', ['storage']);
12angular.module('mapModule', ['ui.select2', 'ui.unique', '$strap.directives']);
13angular.module('forms', []);
14angular.module('search', ['infinite-scroll', '$strap.directives', 'ui.select2']);
15angular.module('reusableDirectives', []);
16angular.module('storage', []);
17angular.module('filters', []);
18angular.module('helper', []);
Note: See TracBrowser for help on using the repository browser.