13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
'use strict';
|
|
|
|
// Declare app level module which depends on views, and components
|
|
angular.module('myApp', [
|
|
'ngRoute',
|
|
'myApp.view1',
|
|
'myApp.view2',
|
|
'myApp.version'
|
|
]).
|
|
config(['$routeProvider', function($routeProvider) {
|
|
$routeProvider.otherwise({redirectTo: '/view1'});
|
|
}]);
|