Modified grunt tasks to parse angular JS bundles for browserify precompilation.
Thing is, browserify seems to need to know what files to require prior to precompilation, so that it can prepare aliases for them in the compiled JS file.
However, the angular pipeline we're using uses dynamic requires, so it doesn't look like browserify can see that?
To work around that, we can do a bit of pre-parsing ourselves. We create aliases for the angular JS resources we have in the source directories so that we can inform browserify proactively that these files can be called either statically or dynamically via require().
NgModule scaffolding.
The browserify plumbing seems to be working at this point.
Completed the NgModule wrapper class.
The angular plumbing should work completely at this point.