1234567891011121314151617181920212223242526272829303132333435363738 |
- 'use strict';
- * @ngdoc overview
- * @name infernoQuadrifonicoApp
- * @description
- * # infernoQuadrifonicoApp
- *
- * Main module of the application.
- */
- angular
- .module('infernoQuadrifonicoApp', [
- 'ngAnimate',
- 'ngCookies',
- 'ngResource',
- 'ngRoute',
- 'ngSanitize',
- 'ngTouch',
- 'angularAwesomeSlider',
- 'ngStorage'
- ])
- .config(function ($routeProvider) {
- $routeProvider
- .when('/', {
- templateUrl: 'public/scripts/views/main.html',
- controller: 'MainCtrl',
- controllerAs: 'main'
- })
- .when('/player', {
- templateUrl: 'public/scripts/views/player.html',
- controller: 'PlayerCtrl',
- controllerAs: 'player'
- })
- .otherwise({
- redirectTo: '/'
- });
- });
|