YouAndWeb_TwoToc
3936998360bc76038a30d7e05f72b71ea6b548b8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
'use strict'; /** * Removes server error when user updates input */ angular.module('dashboardApp') .directive('mongooseError', function () { return { restrict: 'A', require: 'ngModel', link: function(scope, element, attrs, ngModel) { element.on('keydown', function() { return ngModel.$setValidity('mongoose', true); }); } }; }); |
Commits for YouAndWeb_TwoToc/client/components/mongoose-error/mongoose-error.directive.js
Revision | Author | Commited | Message |
---|---|---|---|
a2ecfb ... | PTKDev | Fri 20 Nov, 2015 11:22:35 +0000 | TwoToc code |