title: How to avoid angular markup to show up when JavaScript code breaks and throws an exception?
body: <p>AngularJS markup shows all the hidden error messages, images, data in the markup if JavaScript breaks somewhere.</p>
  
  <p>I saw ng-cloak but it only works to keep markup hidden till angular loads up.</p>
  
  <p>Is there a way to avoid the UI getting disrupted when JS breaks ?</p>