MCPcopy
hub / github.com/angular-ui/ui-router / arrayRemove

Function arrayRemove

test/angular/1.3/angular.js:715–720  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

713}
714
715function arrayRemove(array, value) {
716 var index = array.indexOf(value);
717 if (index >= 0)
718 array.splice(index, 1);
719 return value;
720}
721
722/**
723 * @ngdoc function

Callers 4

jqLiteOffFunction · 0.70
$CompileProviderFunction · 0.70
$RootScopeProviderFunction · 0.70
FormControllerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected