I want to remove an item from a stored array in angular 2, with Type Script. I am using a service called Data Service, the DataService Code:
export cl
This can be achieved as follows:
this.itemArr = this.itemArr.filter( h => h.id !== ID);