title: Can AngularJS auto-update a view if a persistent model (server database) is changed by an external app?
body: <p>I'm just starting to familiarize with AngularJS, but I would like to build a web app that has a view that gets auto-upated in real-time (no refresh) for the user when something changes in the server-side database.</p>
  
  <p>Can AngularJS handle this (mostly) automatically for me?  And if so, what is the basic mechanism at work?</p>
  
  <p>For example, do you somehow setup AngularJS to poll the DB regularly for "model" changes?  Or use some sort of Comet-like mechanism to notify AngularJS client-side code that the model has changed?</p>
  
  <p>In my application, the challenge is that other (non-web) server-side software will be updating the database at times.  But this question applies equally to pure web-apps where you might have multiple clients changing the database through AngularJS web clients, and they each need to be updated when one of them makes a change to the DB (model).</p>