title: AngularJS $watch root scope variable for changes
body: <p>I have the following $rootScope variable which I use to save the current logged in user privilege level, then I access this variable from other controllers. Is there a way I can watch the rootScope variable for changes in order to update controllers specific variables with any changes to the root scope variable? Below is the code I am using so far, can someone please tell me what I am doing wrong and how to fix it? Thanks</p>
  
  <p>In app.js under .run:</p>
  
  <pre><code> $rootScope.uPLevel = 0;
  </code></pre>
  
  <p>.controller</p>
  
  <pre><code>   $scope.$watch($rootScope.uPLevel, function() {
              $scope.userPLevel = $rootScope.uPLevel;
     }, true);
  </code></pre>