export class EditItem<T> {
editing: boolean;
constructor (public item: T) {}
}
define an API to set a value of any type which can be altered, retrieved or set back to its initial value:https://angular.io/docs/ts/latest/guide/hierarchical-dependency-injection.html