Angularjs Loop Through Array Powershell If Variable Is Empty