Removed Emitter class as angular as that built in