He will not work. Since ngModel should only be used with inputs , since it is associated with two-way data binding.
The shortcut does not apply to user input, so it does not require ngModel. Therefore, if you want to associate a scope variable with a label, you can use expressions .
how
<label> {{labelText}} </label>
Note: you must define labelText in your controller, for example $scope.labelText = "Hello"
Vivek source share