title: ionic/angularjs - best way to clear data from services?
body: <p>I'm working on an Ionic app (built on Angularjs) and so far so good.  My app contains a logout feature and I'd like to clear data in all services so that when the next user logs in, he will not see the old data.  What is the best way to achieve this?</p>
  
  <p>From what I've read around here and on Google:</p>
  
  <ol>
  <li>Its possible to inject $rootScope into each service and have it listen to an event which will clear the data in the service.</li>
  <li>Have one service which has all the other services injected into it.  Implement a clear() method in each service.  (What if you have 50 services?)</li>
  </ol>
  
  <p>Are there other ways?</p>