22 lines
		
	
	
		
			429 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			429 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" });
 | |
|     },
 | |
|   ]);
 |