Connect AngularJS client with mongoDB