2
0
Fork 0
node-ff-assets/example/www_static/js/example-app.js
2015-02-27 15:20:01 +01:00

14 lines
390 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' });
$locationProvider.html5Mode(true);
}]);