Pass in require properly to factory
Merge pull request #92 from gehan/dev-require

Pass in require properly to factory