Given the following scenario:
- An input spec which references external example files
- An example file which contains a JSON array as the root node
Running the generate goal with generatorName=boat-angular and bundleSpecs=true results in uncompilable code in the generated mock provider(string literals are not enclosed in quotation marks).
Interestingly, if you add writeDebugFiles=true to output the bundled spec to a file, then run the generator against that file, the bug is not present.
Example project illustrating the issue https://github.com/daiscog/boat-angular-bundle-issue