angular docs: scope in callbacks