Fix minifying

- Added the correct (AngularJS-friendly) minifyHtml parameters in the
documentation.
- Fixed the Javascript templates to be minify-proof.