|
'use strict';
/**
* @ngdoc function
* @name domainManagerApp.controller:AboutCtrl
* @description
* # AboutCtrl
* Controller of the domainManagerApp
*/
angular.module('domainManagerApp.domains', [])
.controller('DomainsListController', function ($scope, $http) {
$http({
method: 'GET',
url: '/scripts/data.json'
}).success(function(data) {
$scope.domains = data.domains;
})
});
|