blob: 8123694730667902c123e17e95c00f6bb9e128bd [file] [log] [blame]
Andrew Geisslerba5e3f32018-05-24 10:58:00 -07001window.angular && (function(angular) {
2 'use strict';
Iftekharul Islama1d238f2018-02-26 12:29:45 -06003
Andrew Geisslerba5e3f32018-05-24 10:58:00 -07004 angular
5 .module('app.common.directives')
6 .directive('errors', ['APIUtils', function(APIUtils) {
7 return {
8 'restrict': 'E',
9 'template': require('./errors.html'),
10 'scope': {
11 'path': '='
12 },
13 'controller': ['$scope', 'dataService', function($scope, dataService) {
14 $scope.dataService = dataService;
15 }]
16 };
17 }]);
Iftekharul Islama1d238f2018-02-26 12:29:45 -060018})(window.angular);