I have this html which works very well. My topicId displays from 0 to 7 and 0 is the first item. However nothing is displayed as the default in my dropdown when the page loads until I click the dropdown.
I will like the first item to be displayed as the default. How can I achieve this please?
<div class="selectTopic">
<select id="cTopic" name="cTopic" ng-model="selectedValue">
<option ng-repeat="x in cuc.getData" value="{{x.topicId}}"> {{x.topicDescription}}</option>
</select>
</div>