2015-01-10 00:23:15 -07:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
// Declare app level module which depends on views, and components
|
|
|
|
|
angular.module('myApp', [
|
|
|
|
|
'ngRoute',
|
|
|
|
|
'myApp.about',
|
2015-01-11 04:04:30 -07:00
|
|
|
'myApp.authors',
|
|
|
|
|
'myApp.site',
|
2015-01-10 00:23:15 -07:00
|
|
|
'myApp.build',
|
2015-01-11 12:45:05 -07:00
|
|
|
'myApp.configure',
|
2015-01-11 20:59:14 -07:00
|
|
|
'myApp.post',
|
2015-01-11 04:04:30 -07:00
|
|
|
'myApp.version',
|
|
|
|
|
'myApp.services'
|
2015-01-10 00:23:15 -07:00
|
|
|
]).
|
|
|
|
|
config(['$routeProvider', function ($routeProvider) {
|
|
|
|
|
$routeProvider.otherwise({redirectTo: '/about'});
|
|
|
|
|
}]);
|