Modifies array
by removing an element from it. The element will be looked up using the
indexOf
function on the array
and only the first instance of
the element will be removed.
Note: this function is used to augment the Array
type in angular expressions. See
angular.Array
for more info.
angular.Array.remove(array, value);
array – {Array} –
Array from which an element should be removed.
value – {*} –
Element to be removed.
{*}
– The removed element.