Tiny event emitter for Angular.JS.