<input type="button" value="
{{ flag ? "Active" : "De-active" }}
" class="btn btn-danger btn-sm" ng-click="someFunction()"/>
I want above expression to be executed to select the value of value attribute. How can I do that in angularJs? Is there any directive for that?
flag is a boolean value here. Please suggest the solution.
