我可以在 html 标记中注释属性吗?
我需要做这样的事情:
<hero-detail <!--comments goes here--> hero="currentHero"> </hero-detail>
但这不起作用。怎么做到呢?
angular-template angular
angular ×1
angular-template ×1