WIP Domain listing app with automatic status checking. Buitl with AngularJS.

app.js 889B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. 'use strict';
  2. /**
  3. * @ngdoc overview
  4. * @name domainManagerApp
  5. * @description
  6. * # domainManagerApp
  7. *
  8. * Main module of the application.
  9. */
  10. angular
  11. .module('domainManagerApp', [
  12. 'ngAnimate',
  13. 'ngCookies',
  14. 'ngResource',
  15. 'ngRoute',
  16. 'ngSanitize',
  17. 'ngTouch',
  18. 'firebase',
  19. 'angular-ladda',
  20. 'domainManagerApp.main',
  21. 'domainManagerApp.signin',
  22. 'domainManagerApp.domains'
  23. ])
  24. .config(['$routeProvider', function($routeProvider) {
  25. $routeProvider
  26. .when('/', {
  27. templateUrl: 'views/main.html',
  28. controller: 'MainCtrl'
  29. })
  30. .when('/domains', {
  31. templateUrl: 'views/domains.html',
  32. controller: 'DomainsListController'
  33. })
  34. .when('/sign_in', {
  35. templateUrl: 'views/signin.html',
  36. controller: 'SignInController'
  37. })
  38. .otherwise({
  39. redirectTo: '/'
  40. });
  41. }]);