karlgoldstein/grunt-html2js — pull request #6 by jonathana (2013-07-05 18:24:54+00:00)
Title: Add config options to support various alternate jshint/jslint/coding convention styles

Depending on individual projects' jshint/jslint settings and/or
whitespace specifications, the default choices for multi-line
indenting and quote escaping may not be suitable. In addition,
there may be particular file-level jshint settings that a project
may want. The changes in this commit add the following configuration
options to address this:

* quoteChar: by default the quote character remains a double quote
("). However, for projects that want strict single quote-only
usage, you can specify
```options: { quoteChar: '\'' /*, ... */ }```
to use single quotes, or any other odd quoting character you want

* indentString: by default the indent remains 2-spaces. However,
you can specify alternate indenting via
```options: { indentString: ' ' /*, ... */ }```
to get, for example, 4-space indents. Same goes for tabs or any other
indent system you wantto use

* fileHeaderString: If specified in the options
```options: { fileHeaderString: '/* something here */\n' /*, ... */ })```
whatever is in the fileHeaderString will get written at the top of the output
Template.js file. As an example, jshint directives to e.g.
```/* global angular: false */``` can be put at the head of the file