swtiches formatters interation to user angular.forEach