search

Home  >  Q&A  >  body text

angular.js - Can I ask the master? Angularjs loads external html templates. How to solve the problem of flickering

First explain. I asked different questions about {{}} binding data.
Phenomenon, the externally loaded HTML template has a style table, and every time you enter the page, the unformatted web content is always displayed.
It feels like the style sheet has not been loaded and parsed.

大家讲道理大家讲道理2818 days ago693

reply all(1)I'll reply

  • 漂亮男人

    漂亮男人2017-05-15 17:07:55

    `<p ng-if="!aaa">
    Loading...
    </p>

    <p ng-if="!!aaa">
    You code
    </p>`

    Answering via mobile phone is not easy

    reply
    0
  • Cancelreply