Moddle in angularjs,nodejs, mongodb