I am iterating arrays within arrays what I have. Some inner arrays does not have certain attribute called "validations" and some does. Whenever my loop hits an array with no certain attribute, it throws an error saying "no validations" and stop looping.
I'm calling this function:
$scope.groups[a].sections[0].fields[1]["validations"]
I wonder if there's a way to skip current array if the array does not have validations.
Thanks