Here is the structure of my HTML code:
<select class="form-control"
name="settings.provider"
id="settings.provider"
ng-model="settings.provider"
required>
<option value="" disabled selected>Select Provider</option>
<option value="thisProvider">thisProvider</option>
</select>
I am trying to programmatically select the option "thisProvider". How can I achieve this?
I attempted the following, but it did not work:
$scope.settings.provider = "thisProvider";