meanjs/mean — pull request #289 by lirantal (2014-12-04 15:57:47+00:00)
Title: Refactor mongodb connection

This refactoring to mongodb connection handling will solve:
1. username or password with special chars like @ won't be handled correctly to connect to mongodb via the connection string uri, so this refactor solves that
2. exit on mongodb error instead of hang the nodejs app idle