'use strict'; // Declare app level module which depends on views, and core components angular.module('myApp', [ 'core', 'ngRoute', 'myApp.view1', 'myApp.view2', 'myApp.file-service' ]).config(['$locationProvider', '$routeProvider', function ($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); $routeProvider.otherwise({redirectTo: '/view1'}); }]);