Connect ionic with dialogflow rest api v2

Does anyone know how to connect my ionic platform with dialogflow rest api v2 since this version does not include cordova plugin? Please help!