angular-fullscreen
angular-fullscreen copied to clipboard
Emitting from $rootScope
Maybe I'm not understanding something, but shouldn't the event be broadcasted rather than emitted? https://github.com/fabiobiondi/angular-fullscreen/blob/master/src/angular-fullscreen.js#L16
$emit - Dispatches an event name upwards through the scope hierarchy notifying the registered $rootScope.Scope listeners. https://docs.angularjs.org/api/ng/type/$rootScope.Scope
Seems like nobody will get notified by this