Hi Guys..
I tried this. did not work for me. My second ng-repeat calls a function who 
has $http request. 

like:
                                        $scope.getAssignments= 
function(emp, d){
var temp = $http.get('something.php?emp='+emp+'&d='+d).
then(function(response){
return response.data;
}); 
return temp;
}
any ideas? 
Thanks

> <td class="calendar-unit" ng-repeat="day in days" 
> ng-init='assignments=getAssignments(employee,day)'>
>>       {{day.date()}}
>>       <div class="assignment" ng-repeat="assignment in assignments">
>>           {{assignment.type}}
>>       </div>
>> </td>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to