added scope.apply call to my callback