angular-cookies componentized