'Set up a global listener/controller for events triggered on document with CanJS

Probably not the common use case, but I have several custom events being fired on document, and the application listens for them. Example: http://jsbin.com/uradod/3/edit

How can I convert this to be CanJS controller? I was of something similar to this: http://jsbin.com/uradod/6/edit. Is it possible? If so, how?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source