angularjs - Angular strap show list of errors -


is possible show list of errors (comma separated array) in angular strap alerts problematically or html?

i didn't find way that.

$scope.errors = response.split(',');  var myalert = $alert({ title: 'title', content: '-----------', placement: 'top', type: 'success', duration: '1', show: true }); 

since array created comma delimited string ...just pass in original string

var myalert = $alert({     title: 'title',     content: response,     placement: 'top',     type: 'success',     duration: '1',     show: true }); 

or bit more separation use $scope.errors.join(', ');


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -