Unitech / angular-bridge

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

Added requestPrehandler to each resource rather than the requests. #7

Closed kentcdodds closed 11 years ago

kentcdodds commented 11 years ago

This method allows the consumer of the angular-bridge api to add an option for prehandling the requests. Better than adding a single prehandler to all requests I think.

Unitech commented 11 years ago

Mmm tests doesn't pass anymore with the patch-2 Do you mind to fix this patch and add some tests ?

By the way thank you for contributing !