Last active
September 12, 2016 09:40
-
-
Save KarateJB/8c3d800e208cb968393ccd1bd88e8e96 to your computer and use it in GitHub Desktop.
[JS] Remove element from array.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var index = $scope.Agents.indexOf(agent); | |
$scope.Agents.splice(index, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment