Conditional references aren't as hard as they sound. Check [this diff out](https://github.com/jedmao/generator-angular/compare/typescript#diff-2018087f584c4398b5c3a23fc0e5f9dbR225). Once those `ngCookies`, `ngResource` and `ngSanitize` are in there, along with the existing `ngRoute`, you can add your references [like this](https://github.com/jedmao/generator-angular/compare/typescript#diff-382b2fa84cf9d5c73b0cd6db72ed72caR1).