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

15 lines
485 B
JavaScript

'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});
}]);