Adding angular cookie support to petshapes