search

Home  >  Q&A  >  body text

angular.js - angularJs里面的这种判断自动生成的注释可以去掉吗?

这种因为ng-if 或者ng-repeat生成的注释可以有什么办法去掉吗?

phpcn_u1582phpcn_u15822745 days ago613

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-15 17:00:16

    Why should we remove it? These comments are dynamically generated when the instruction is parsed. If you want to remove it, just rewrite the instruction with a decorator, but it doesn't make much sense

    reply
    0
  • PHP中文网

    PHP中文网2017-05-15 17:00:16

    Ask the same question, ask the same question, ask the same question, ask the same question

    reply
    0
  • Cancelreply