blob: 5bd1e52d8f3ed6529029050e33113956d0624a5e [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);