app.js 595 B

1234567891011121314151617181920212223242526272829
  1. 'use strict';
  2. /**
  3. * @ngdoc overview
  4. * @name fehlerberichtApp
  5. * @description
  6. * # fehlerberichtApp
  7. *
  8. * Main module of the application.
  9. */
  10. angular
  11. .module('fehlerberichtApp', [
  12. 'ngAnimate',
  13. 'ngCookies',
  14. 'ngResource',
  15. 'ngRoute',
  16. 'ngSanitize',
  17. 'ngTouch'
  18. ])
  19. .config(function ($routeProvider) {
  20. $routeProvider
  21. .when('/', {
  22. templateUrl: 'views/overview.html',
  23. controller: 'OverviewCtrl'
  24. })
  25. .otherwise({
  26. redirectTo: '/'
  27. });
  28. });