You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
499 B
JavaScript
15 lines
499 B
JavaScript
angular.module('SpringMusic', ['albums', 'errors', 'status', 'info', 'ngRoute', 'ui.directives']).
|
|
config(function ($locationProvider, $routeProvider) {
|
|
// $locationProvider.html5Mode(true);
|
|
|
|
$routeProvider.when('/errors', {
|
|
controller: 'ErrorsController',
|
|
templateUrl: 'templates/errors.html'
|
|
});
|
|
$routeProvider.otherwise({
|
|
controller: 'AlbumsController',
|
|
templateUrl: 'templates/albums.html'
|
|
});
|
|
}
|
|
);
|