Fixed missing dependency on $rootScope.
Merge pull request #38 from akoprow/patch-1

Fixed missing dependency on $rootScope.