Within the controller, I have a selection list that is displayed like this:
<select class="input form-control"
id="animationTime"
ng-options="item as item.label for item in aniCon.timeOptions track by item.id"
ng-model="aniCon.popupTime"
ng-init="aniCon.popupTime = aniCon.timeOptions[{{aniCon.popupTime.id}}]">
</select>
An issue arises with a parse error related to {..., which requires an actual value instead of {{..
The specific concern is that the value {{aniCon.popupTime.id}}
is initially interpreted as 3 when the page first loads, resulting in the correct HTML:
aniCon.popupTime = aniCon.timeOptions[3]
To address this parsing error, I need to find a way to overlook it.