feat(): use $rootScope.$emit instead of $rootScope.$broadcast