blob: 2c9b109c31195c44d2b32c6306fae5afb837fa15 [file] [log] [blame]
window.angular && (function (angular) {
'use strict';
angular
.module('app.common.directives')
.directive('errors', ['APIUtils', function (APIUtils) {
return {
'restrict': 'E',
'template': require('./errors.html'),
'scope': {
'path': '='
},
'controller': ['$scope','dataService', function($scope, dataService){
$scope.dataService = dataService;
}]
};
}]);
})(window.angular);