I have an AngularJS 1.0.7 webapp (please don´t say the answer is to migrate to a newer version, it´s not feasible right now).
Simplifying I have a template like:
<html>
<body>
<div class="wrapper" ng-view></div>
<div ng-include src="'partials/footer.html'"></div>
</body
</html>
The point is that when the home page is loaded, it seems like the footer is loaded much faster than the content in the ng-view, so it makes an ugly effect to the user, showing the footer on top of the page for some milliseconds until the view is loaded.
How can I avoid this? I don´t think I should include the footer inside all partial views, in that case template wouldn´t make much sense. The only approach that it comes to me, is to develop some signals to block the footer until the view is loaded. Is this the AngularJS way?