docs($cookies): added example to $cookies api docs

Better than nothing.