Removing element using slice #AngularJS