angular/angular.js — pull request #6507 by longoria (2014-03-01 20:16:52+00:00)
Title: feat($browser): add cookie options plus ability to skip encoding

This change will add the expires, path, domain, and secure options for persisting cookies.
It will also add the ability to skip encoding of cookie name and value.

This change will not alter the existing API behavior.
Instead it will expose the new behavior in two new methods.

There is a smaller changeset for a subset of the work done in this pull request here: #6335

In addition to #6335, this pull request:
- Adds a separate API that the existing cookies method utilizes
- Adds an option to skip encoding for cookie name and value
- Adds additional unit tests to verify new behavior

This pull request would replace the need for #6335

Closes #950