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