Angularjs Loop Through Array Powershell Commands