Angularjs Loop Through Array Matlab Download