IONIC RECORDER cordova-plugin-media

I have tried to build ionic recorder app with cordova-plugin-media but its does not work, I’m confused about my HTML code or my Controllers code, someone have record app with that plugin? if you have I’m very grateful if someone want to share your app code because its urgentto save my life or someone want to share HTML code. please someone should help me I know its stupid question but yeah I don’t know what should I do more than this, Thanks