search

Home  >  Q&A  >  body text

angular.js - Can the comments automatically generated by this judgment in angularJs be removed?

Is there any way to remove the comments generated by ng-if or ng-repeat?

phpcn_u1582phpcn_u15822783 days ago630

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