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

domainsList.js 418B

12345678910111213141516171819
  1. 'use strict';
  2. /**
  3. * @ngdoc function
  4. * @name domainManagerApp.controller:AboutCtrl
  5. * @description
  6. * # AboutCtrl
  7. * Controller of the domainManagerApp
  8. */
  9. angular.module('domainManagerApp.domains', [])
  10. .controller('DomainsListController', function ($scope, $http) {
  11. $http({
  12. method: 'GET',
  13. url: '/scripts/data.json'
  14. }).success(function(data) {
  15. $scope.domains = data.domains;
  16. })
  17. });