Attempting to implement input validation using an Angular expression because validation data will be sourced from the database.
Attempting the following code:
controller
vm.key="ng-required"
vm.value="true"
html
<input type="text" name="field" ng-model="name" {{vm.key}}="{{vm.value}}" >
However, this does not produce any changes.