The line:
$parse( attr.ngModel ).assign( scope, null );
should read:
$parse( attr.ngModel ).assign( scope, '' );
Otherwise spurious results occur when clearing model value.
Also, installation instruction should also specify installing .css file, not just .js
Hope this was helpful.
The line:
$parse( attr.ngModel ).assign( scope, null );
should read:
$parse( attr.ngModel ).assign( scope, '' );
Otherwise spurious results occur when clearing model value.
Also, installation instruction should also specify installing .css file, not just .js
Hope this was helpful.