Adding scripts and module dependencies for component after generation

When the component sub-generator is used to generate a component, this adds script references to index.html and adds the code to create the component module to modules.js