Prefix ng with data to make the HTML valid

Also add types to the script tags. I was chasing a "SyntaxError: syntax
error" that I got in the console, but I think that is coming from the depths of
angularjs...