The same question from here.
How to add attribute without value
This time, I want to create an input with AngularJS attribute, to use it as a directive.
Here is what I want:
<input ng-angular-abc />
This is what the TagBuilder generated:
<input ng-angular-abc=""/>
I have tried this, but none works:
tagBuilder.MergeAttribute("ng-angular-abc", "");
tagBuilder.MergeAttribute("ng-angular-abc", null);
tagBuilder.MergeAttribute("ng-angular-abc", "ng-angular-abc");