Unknown provider: $rootscopeProvider <- $rootscope
Typo (happens to all of us): $rootScope
with a capital S
.
Sometimes people forget to inject it. Then you'd get this error:
ReferenceError: $rootScope is not defined
Typo (happens to all of us): $rootScope
with a capital S
.
Sometimes people forget to inject it. Then you'd get this error:
ReferenceError: $rootScope is not defined