Open narthur157 opened 7 years ago
$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
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