How to implement IndexedDB database for windows phone 8?

I am trying to use indexedDB database for windows phone with ionic. How can i implement?

Seek and you shall fine.

http://code.msdn.microsoft.com/windowsapps/IndexedDB-sample-eb1e95af

Be warned, we don’t officially support WP8 yet, but plan for full support are in the works