Using jquery cookie instead of angular cookie as we want cookie expiry