TopController count: {{ count }}
MiddleController count: {{ count }}
$emit('myEvent') from MiddleController $scope
$broadcast('myEvent') from MiddleController $scope
BottomController count: {{ count }}
This example shows the difference between $emit and $broadcast, showing how they fire events and manipulates them.