Update accept method to also take the target item. Usefull for dynamic a...

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