Passing scope as an argument of listeners