I am working with angularjs ...
I want to implement foreach loop in Jquery
vacationSummaries1 =[{VacationType : "X"},{VacationType : "Y"}]
$.each(($scope.vacationSummaries1, function ()
{
alert(this.VacationType);
}));
this is not iterating
what is wrong with the Syntax ?
forEach: docs.angularjs.org/api/angular.forEach