Access Mysql and mongoDB in php using Angualrjs