Hello everyone, thanks for your response and the time dedicated.
I have another doubt it is possible with angular to put a selected option dynamically because I have to achieve that. In the html code I have this where keysSecurityTypes is an array that is in a controller with the values I want to show. But the thing is that I have to initialize the options with a default value that can vary according to what comes from a database that corresponds to the same values of keysSecurityTypes but only one value according to what comes from the database I have to show the values of the keysSecurityTypes array and also put in the option a default value that can change by placing the select would not work because it would always be for the same element and not dynamically with angular. That value is only loaded once when the options are shown but since it depends on the database if that value changes, you should change the value in the option.
in the controller
public keysSecurityTypes : Array<string> = new Array("WPA2", "WPA", "WPA/WPA2");
public valorSeleccionadoPorDefecto : string; // este valor puede cambiar y indica cual es el elemento del array que debe aparecer seleccionado en el option del html
HTML
<select ng-model="securityType" ng change="wifi.selectedSecurityType(securityType)">
<option ng-repeat="types in wifi.keysSecurityTypes">{{types}}</option>
</select>
Thanks again