text: !function(){"use strict";angular.module("fmNgMaxLength",[]).directive("ngMaxlength",function(){return{restrict:"A",require:"ngModel",link:function(n,t,e){function r(){e.ngMaxlength&&(i=n.$watch("ngModel",function(t,r){t?n.remainingChars=parseInt(e.ngMaxlength)-t.length:r&&r.length>1?n.remainingChars=0:n.remainingChars=parseInt(e.ngMaxlength)}))}var i;r(),n.$on("$destroy",function(){Function.prototype.isPrototypeOf(i)&&i()})}}})}();
  