Remove Item From Array With Angular Js

Posted by Weston Ganger

Turns out splice works on $index:


<div ng-repeat="post in posts">
  <button type="button" ng-click="posts.splice($index,1)">
</div>

Article Topic:Software Development - Angular

Date:August 20, 2014

Recommended Posts