switch to Angular cookieStore

replaced jquery-cookie plugin with Angular's $cookieStore