Added missing root scope dependency.

The broadcast method throws reference error: $rootScope is not defined.
Merge pull request #3 from anongit/patch-1

Added missing root scope dependency.