Below is the syntax of for each loop:
angular.ForEach(students,function(value,key)
{
//some code
}
To parse JSON, we can use any loop, but I would use for each loop because it will minimize my code by eliminating the need to store the length of a JSON in a variable.