Angular 4, Using a custom directive to toggle between different HTML templates ; This is sometimes more difficult than it sounds, especially for complex projects with poor separation of concerns. To make it case insensitive you can provide “gi” in regular expression. here i write simple example of Template Driven Forms with validation in angular 12. Answer: You can create a pipe and use the tag.Please note the below highlight is case sensitive. Two-way binding to contenteditable element in Angular 2 January 23, 2016. contenteditable is a new HTML5 feature where you can edit any text inside DOM elements which are not editable by default (as input or textearea). The