title: angularjs: how to restart controllers to update the data source model to watch?
body: <p>how to tell angularjs to stop watching an expired data object and force controllers to restart to look at a new model instance ? </p>
  
  <pre><code>    var ang = angular.module('ang', []);
  
      ang.controller('userCtrl', function($scope) {
          $scope.userData = myProject.getUserData(); // an OOP js data tree
      } 
  
      angular.bootstrap(document, ['ang']);
  
      // ... 
  
      myProject.reloadUserData(); // userData now a new instance
  </code></pre>
  
  <p>Angular works perfectly until I destroy the user data object to create a new data object instance. </p>
  
  <p>How to tell angular to stop watching the old user data and start looking the new ? Basically I want to restart angular or the controllers. </p>