<select class="form-control" ng-model="companyId" style="height: 40px;" ng-options="id for id in companyId">
</select>
Hi.I have an array scope.companyId in controller which gets populated with the result of controller.array contains say [1,2,3].I need to populate this in dropdown.What is the mistake im doing?.
Thanks.