How to implement shared preferences in Ionic hybrid mobile application using apache cordova

I am using cordova hybrid mobile application. In that application I want to implement shared preferences in the code. I get a response from server also. How to implement the shared preferences in my application.