Here is my Plunker:
http://plnkr.co/edit/oIei6gAU1Bxpo8VUIswt
When the button is clicked, the following should be inserted before the \"Hello World!\" span:<
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: