Update index.js

Why not leverage the fact that UserModel [export](https://github.com/mr-mig/angular-experiments/blob/master/ng-browserify-module/user/UserModel.js#L12) is already a function?