angular-cookies as component