Run legato callback in scope.apply since it comes from outside Angular