Added missing root scope dependency.

The broadcast method throws reference error: $rootScope is not defined.