Created
April 28, 2016 09:56
-
-
Save rwoloszyn/0ef8b1f117a5864b74904b0a6abff1ba to your computer and use it in GitHub Desktop.
Remove item from array using underscore.js
library
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
$scope.excludedTrips = _.reject($scope.excludedTrips, function(objArr){ | |
return objArr.id == event.id; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment