app.controller('DomainsCtrl', ['$scope', 'Domains',
    function($scope, Domains) {
        $scope.domains = Domains.query();
    }
]);



app.controller('DomainsCtrl', ['$scope', '$log', 'Domains',
    function($scope, $log, Domains) {
        $scope.domains = Domains.query();
    }
]);



Make $log available within our DomainsCtrl
Make $log available within our DomainsCtrl
