Angular - Getting out of Zone.JS for specific callbacks
问题 First and foremost, I'm well aware of zone.runOutsideAngular(callback) , documented here . What this method does is running the callback in a different zone than the Angular one. I need to attach a very quick callback to document 's mousemove event (to count Idle time). I don't want to have the whole Zone.JS machinery of tasks appended to execution queues for this specific callback. I would really like to have the callbacks run in plain, unpatched browser runtime. The event registration code