18 lines
380 B
JavaScript
18 lines
380 B
JavaScript
'use strict';
|
|
|
|
// Declare app level module which depends on views, and components
|
|
angular.module('myApp', [
|
|
'ngRoute',
|
|
'myApp.about',
|
|
'myApp.authors',
|
|
'myApp.site',
|
|
'myApp.build',
|
|
'myApp.configure',
|
|
'myApp.post',
|
|
'myApp.version',
|
|
'myApp.services'
|
|
]).
|
|
config(['$routeProvider', function ($routeProvider) {
|
|
$routeProvider.otherwise({redirectTo: '/about'});
|
|
}]);
|