add angularjs and link up mongodb database