Hi there, i try to make a select with ng-options and for some reason in chrome appear blank select.. one mention ..in chrome inspect my values appear here is my code :
<select
name="project"
class="form-control"
ng-options="project.name for project in projects track by project.id"
ng-model="projectTest"
ng-init="project.id=0">
Hi there, i try to make a select with ng-options and for some reason in chrome appear blank select.. one mention ..in chrome inspect my values appear here is my code :
<select name="project" class="form-control" ng-options="project.name for project in projects track by project.id" ng-model="projectTest" ng-init="project.id=0">
$http.get('http://ec2-52-41-170-185.us-west-2.compute.amazonaws.com:8080/projects').success(function(data){ $scope.projects = data;
console.log(data); });
thanks