Load angular dependencies in a browserify friendly manner with simple version selection.
Browserify transform to load angular dependencies in a browserify friendly manner with simple version selection via the require statement.
npm install angularify
In your application entry file simply use the standard require statement to have a speecific version of Angular or a code Angular module loaded. You only need to do this once as Angular is then made global and modules will be bound in the usual Angular manner!
An example Browserify entry point file is below.
// Angular is now included in your browserify build (bundle.js)firstname.lastname@example.org';// ngRoute is now included in your build email@example.com';angularmodule'MyApp' 'ngRoute';// Now write your app!
Tests. I have just made this repository public and gotten the transform behaving, but now it needs to be tested to verify it works the way one expects it to in the browser.