Angularjs Loop Through Array Javascript Iteration