Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update topbarServices.ts
Browse files Browse the repository at this point in the history
typo (watch -> $watch)
  • Loading branch information
jkremser committed May 22, 2015
1 parent 654aac3 commit 74655c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module Topbar {
init(tenantId);
} else {
// currentPersona hasn't been injected to the rootScope yet, wait for it..
$rootScope.watch('currentPersona', (currentPersona) => currentPersona && init(currentPersona.id));
$rootScope.$watch('currentPersona', (currentPersona) => currentPersona && init(currentPersona.id));
}
}

Expand Down

0 comments on commit 74655c2

Please sign in to comment.