Angularjs Loop Through Array Powershell Version