What are ng-bind-HTML Directives? The ng-bind-HTML directive is used for attaching the content to the HTML element in a secure method and renders the HTML as clickable anchor tags. To make use of this directive, you should use angular-sanitize.js in your application to make use of the $sanitize service. The word sanitize mean clean and purify …
AngularJS : ng-maxlength and ng-minlength Directives
What is ng-maxlength Directive? The ng-maxlength directive allows us to set the maximum length for an input field i.e it adds the restriction for an input field. The ng-maxlength directive does not prevent the users from entering more than the restricted number of characters. When the maximum length is enforced for a field, the angularjs …