我认为你正在寻找ngCloak指令:
http://docs.angularjs.org/api/ng.directive:ngCloak
原文链接:https://www.f2er.com/angularjs/147959.html从文档:
The ngCloak directive is used to prevent the Angular html template
from being briefly displayed by the browser in its raw (uncompiled)
form while your application is loading. Use this directive to avoid
the undesirable flicker effect caused by the html template display.The directive can be applied to the
<body>
element,but typically a fine-grained application is prefered in order to benefit from progressive rendering of the browser view.