update for latest angular, jquery. can cleanly remove item from list.