Avoid flicker whilst angularjs is loading