AngularJS markup shows all the hidden error messages, images, data in the markup if JavaScript breaks somewhere.
I saw ng-cloak but it only works to keep markup hidden till angular loads up.
Is there a way to avoid the UI getting disrupted when JS breaks ?