Get agree func and test in isolate scope