Cookies in ionic app

I am making a small app which uses cookies for authentication. While user logs out I am deleting the cookie, but I am getting following error.
Error: [$injector:unpr] Unknown provider: $cookiesProvider <- $cookies <- Logout
This means $cookies service is not there in ionic. Do I need to import this or is there some other way in ionic to delete cookies.

I had to import the ngCookies plugin to make it working.

@naveen007 how did you import ngcookies? I tried doing but still not working. Can you pl paste yout code here?