Angular Loop Through Array Powershell Substring