dist/ng-alerts.js
function remove(id) {
                    var i;
                    for (i = 0; i < $scope.alerts.length; i += 1) {
                        if ($scope.alerts[i].id === id) {
                            $scope.alerts.splice(i, 1);
                            return;
                        }
                    }
                }
function remove(id) {
                    var i;
                    for (i = 0; i < $scope.alerts.length; i += 1) {
                        if ($scope.alerts[i].id === id) {
                            $scope.alerts.splice(i, 1);
                            return;
                        }
                    }
                }
function remove ( id ) { var i ; for ( i = 0 ; i < $scope . alerts . length ; i += 1 ) { if ( $scope . alerts [ i ] . id === id ) { $scope . alerts . splice ( i , 1 ) ; return ; } } }
Removes a specific alert by id.
Removes a specific alert by id .