Unitech / angular-bridge

Link models easily via a REST interface between Mongoose/Node-Express/Angular.js
207 stars 22 forks source link

Send entity as argument to schema methods #3

Closed tompi closed 11 years ago

tompi commented 11 years ago

Hi, really like your work.

I needed the entity in the schema methods, so I added it as an argument, and updated the readme to reflect changes.

Also cleaned up some jshint-suggestions.

Hope you can use it.

Unitech commented 11 years ago

True it was a missing feature, thanks for this pull request !