lib/index.js
function(compiler){
    bindCallbackMethod(compiler, "compilation",
                       this, this.addDependencyFactories);
    bindCallbackMethod(compiler.parser, "expression window.angular",
                       this, this.addAngularVariable);
    bindCallbackMethod(compiler.parser, "expression angular",
                       this, this.addAngularVariable);
    bindCallbackMethod(compiler.parser, "call angular.module",
                       this, this.parseModuleCall);
    bindCallbackMethod(compiler.resolvers.normal, "module-module",
                       this, this.resolveModule);
  }
function(compiler){
    bindCallbackMethod(compiler, "compilation",
                       this, this.addDependencyFactories);
    bindCallbackMethod(compiler.parser, "expression window.angular",
                       this, this.addAngularVariable);
    bindCallbackMethod(compiler.parser, "expression angular",
                       this, this.addAngularVariable);
    bindCallbackMethod(compiler.parser, "call angular.module",
                       this, this.parseModuleCall);
    bindCallbackMethod(compiler.resolvers.normal, "module-module",
                       this, this.resolveModule);
  }
function ( compiler ) { bindCallbackMethod ( compiler , "compilation" , this , this . addDependencyFactories ) ; bindCallbackMethod ( compiler . parser , "expression window.angular" , this , this . addAngularVariable ) ; bindCallbackMethod ( compiler . parser , "expression angular" , this , this . addAngularVariable ) ; bindCallbackMethod ( compiler . parser , "call angular.module" , this , this . parseModuleCall ) ; bindCallbackMethod ( compiler . resolvers . normal , "module-module" , this , this . resolveModule ) ; }
This is the entrypoint that is called when the plugin is added to a compiler
This is the entrypoint that is called when the plugin is added to a compiler