Ionic cordova plugin

How could I use cordova ringer mode plugin in my ionic app. to change the sound profile of device.