Wrap in a closure

So that "use strict" doesn't affect the behavior of other code
after concatenating this script with the rest of a site's
JavaScript resources.
Cache the DOM query for better performance
Escape CSS ampersands and quotes for the ng-bind-template attribute