Change page when select option

hi! please I have a question, I can change the page when I chose an option

< select >
< option >36< /option >
< option >37< /option >
< option >38< /option>
< option >39< /option >
< option >40< /option >
< /select >

<select ng-model="mySelect" ng-change="showSelectValue(mySelect)">
<option>36</option>
<option>37</option>
<option>38</option>
<option>39</option>
<option>40</option>

In Controller:

 $scope.showSelectValue = function(mySelect) {
console.log(mySelect);
$state.go('nextview');
}
1 Like

thanks you I will test it