ng-include not working with script type=“text/ng-template”

前端 未结 3 1370
长发绾君心
长发绾君心 2020-12-30 06:55

Here is my Plunker:

http://plnkr.co/edit/oIei6gAU1Bxpo8VUIswt

When the button is clicked, the following should be inserted before the \"Hello World!\" span:<

3条回答
  •  不思量自难忘°
    2020-12-30 07:25

    This should work

    ^^^ note that this will NOT even begin to work unless single quotes are added (as @JHixson has already pointed out), like so:

提交回复
热议问题