I have a list of strings with years on it, like:
$scope.years = ["2001", "2002", "2003", ...];
I'm trying to render it on a page inside a select tag, but angular keeps breaking the code, rendering the elements outside the tag.
I have the following in the page:
<select>
<option value="" disabled selected>----</option>
<option ng-repeat="y in years" value="{!y!}">{!y!}</option>
</select>
I does render, but all the option tags that are generated, are outside the select tag. Am I doing something wrong here?
Edit: using AngularJS 1.5.3
