Turns out splice works on $index:
<div ng-repeat="post in posts">
<button type="button" ng-click="posts.splice($index,1)">
</div>
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
Want me to help develop your next Ruby-on-Rails project or application?
Contact Me