SyntaxFix
Write A Post
Hire A Developer
Questions
You can also remove the line
require: 'ngModel',
if you don't need ngModel in this directive. Removing ngModel will allow you to make a directive without thatngModel error.
ngModel