No Description

app.js 767B

1234567891011121314151617181920212223242526272829303132333435363738
  1. 'use strict';
  2. /**
  3. * @ngdoc overview
  4. * @name infernoQuadrifonicoApp
  5. * @description
  6. * # infernoQuadrifonicoApp
  7. *
  8. * Main module of the application.
  9. */
  10. angular
  11. .module('infernoQuadrifonicoApp', [
  12. 'ngAnimate',
  13. 'ngCookies',
  14. 'ngResource',
  15. 'ngRoute',
  16. 'ngSanitize',
  17. 'ngTouch',
  18. 'angularAwesomeSlider',
  19. 'ngStorage'
  20. ])
  21. .config(function ($routeProvider) {
  22. $routeProvider
  23. .when('/', {
  24. templateUrl: 'public/scripts/views/main.html',
  25. controller: 'MainCtrl',
  26. controllerAs: 'main'
  27. })
  28. .when('/player', {
  29. templateUrl: 'public/scripts/views/player.html',
  30. controller: 'PlayerCtrl',
  31. controllerAs: 'player'
  32. })
  33. .otherwise({
  34. redirectTo: '/'
  35. });
  36. });