In the below template, I would expect the script tag to never render, and the alert script to never execute. However it does.
I think that false expression is not well converted to angular false. I can prove this by setting:
Which doesn't render text in current div. Anyway, it executes alert, i suppose it is executed before angular runs, that's why. 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Which doesn't render text in current div. Anyway, it executes alert, i suppose it is executed before angular runs, that's why.