fix filter summary by attaching methods to scope reference instead of copied object that is being handled in directive