2
0
Fork 0
node-ff-assets/example/www_static/js/example-app.js

15 lines
485 B
JavaScript
Raw Normal View History

2015-02-27 14:20:01 +00:00
'use strict';
var pageRouteInit = [];
angular.module('exampleUI', ['ngRoute']).
config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
for (var i = 0; i < pageRouteInit.length; i++) {
pageRouteInit[i]($routeProvider, $locationProvider);
}
$routeProvider.otherwise({ redirectTo: '/example-ui' });
// base kills svg url property + more (but kills ie9 support)
$locationProvider.html5Mode({enabled: true, requireBase: false});
2015-02-27 14:20:01 +00:00
}]);