Question from the AngularJS test

Emit an event to parent scopes