majgis/ngify

Add programmatic configuration to the readme

majgis opened this issue · 0 comments

It would be helpful to show how to programmatically pass options to the transform in the readme.

The transform method takes a second opts parameter

var b = browserify()
    .transform(require('ngify'), {moduleName: 'test'})
    .add('./testFile').bundle().pipe(process.stdout);