X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=blobdiff_plain;f=afb-client%2Fbower_components%2Ffoundation-apps%2Fjs%2Fangular%2Fapp.js;fp=afb-client%2Fbower_components%2Ffoundation-apps%2Fjs%2Fangular%2Fapp.js;h=7251eb17bfe3e09684704c28d1d7fe2733afff17;hp=0000000000000000000000000000000000000000;hb=5b1e6cc132f44262a873fa8296a2a3e1017b0278;hpb=f7d2f9ac4168ee5064580c666d508667a73cefc0 diff --git a/afb-client/bower_components/foundation-apps/js/angular/app.js b/afb-client/bower_components/foundation-apps/js/angular/app.js new file mode 100644 index 0000000..7251eb1 --- /dev/null +++ b/afb-client/bower_components/foundation-apps/js/angular/app.js @@ -0,0 +1,35 @@ +(function() { + 'use strict'; + + angular.module('application', [ + 'ui.router', + 'ngAnimate', + + //foundation + 'foundation', + 'foundation.dynamicRouting', + 'foundation.dynamicRouting.animations' + ]) + .config(config) + .run(run) + ; + + config.$inject = ['$urlRouterProvider', '$locationProvider']; + + function config($urlProvider, $locationProvider) { + $urlProvider.otherwise('/'); + + $locationProvider.html5Mode({ + enabled: false, + requireBase: false + }); + + $locationProvider.hashPrefix('!'); + } + + + function run() { + FastClick.attach(document.body); + } + +})();