Files
InventoryTraker-Box/InventoryTraker.Web/js/utility/ErrorList.js
T
2016-09-23 15:12:46 -04:00

22 lines
390 B
JavaScript

(function() {
'use strict';
window.app.directive('errorList',
function() {
return {
scope: {
errors: "=",
editMsg: "="
},
templateUrl: '/utility/template/errorList.tmpl.cshtml',
controller: controller,
controllerAs: 'vm'
}
});
function controller($scope) {
var vm = this;
vm.errors = $scope.errors;
vm.editMsg = $scope.editMsg;
}
})();