I am facing an issue where the ng-change function is not working for obtaining the team_id and team name. Can someone suggest a more efficient solution to resolve this problem?
<th style="width:20%">
<select
style="height: 40px;
font-size: 12px;
width: 100%;
border-radius: 3px;
border: 1px solid #dfe3e9;
background: url(../image/select-icon.png) 100% no-repeat !important;
padding-left: 8px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 23px;"
ng-model="team_selected"
name="team_selected"
required=""
ng-change="selected_team(team_selected)">
<option value="" disabled="" selected="selected">Select Team</option>
<option
value="{{teams.team_id}}"
ng-repeat="teams in teamavailable track by teams.team_id">
{{teams.team_name}}
</option>
</select>
</th>