Angular $cookieStore like API for localStorage