Update cookies.js

Request Type: docs

How to reproduce: 

Component(s): ngCookies

Impact: 

Complexity: small

This issue is related to: 

**Detailed Description:**



**Other Comments:**

Just fixed an example in the API reference.