title: How to pass yeoman prompt options through to templated files?
body: <p>I'm writing a version of generator-angular with extra options to support sources in livescript, and bootstrap with less, font-awesome etc. Work in progress is at <a href="https://github.com/gmp26/generator-angular-ls" rel="nofollow">https://github.com/gmp26/generator-angular-ls</a></p>
  
  <p>I'm hung up on a trivial wish. I'd like the initial 'Halo 'Halo installed list to reflect the options installed in response to yeoman questions rather than be a constant common denominator list.</p>
  
  <p>As a first attempt - I tried lodash templates in templates/*/spec/controller.(ls|js|coffee) to adjust the $scope.awesomeThings list which is defined in those files. This fails because my optional flags defined by prompt (this.bootstrap, this.lessBootstrap, this.fontAwesome) in a similar manner to generator-angular's this.bootstrap and this.compassBootstrap are not available in the 'this' context where the template is called. Both 'this' contexts are Generators but I believe the prompting 'this' context is the generator angular:app whereas the template is called in angular:controller.</p>
  
  <p>So, any ideas how to communicate a flag from the app/index.js prompting phase through to the templating phase? </p>
  
  <p>I feel there should be a way to do this that does not involve writing and reading files in the generated app folder.</p>
  
  <p>Maybe this is what the hookFor calls are for? </p>