Update accept method to also take the target item. Usefull for dynamic accept checking. Updated angular version in samples.