Angular Loop Over Array Php Functions String