diff options
| author | Rob Dodson | 2013-08-15 09:58:50 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-08-15 10:25:00 -0700 | 
| commit | 607ed4ee468966984635a5816719cc430e2757c5 (patch) | |
| tree | 674cd492d9c5ea7a2ce8608e63b3c4c64b77ac9b | |
| parent | ec1cece270e293e7c55556fc68afee9a2ad40641 (diff) | |
| download | angular.js-607ed4ee468966984635a5816719cc430e2757c5.tar.bz2 | |
docs($cookies): add info about angular-cookies.js
per the [top comment here](http://docs.angularjs.org/api/ngCookies.$cookies#comment-912064775)
updating documentation so it matches [$resource](http://docs.angularjs.org/api/ngResource.$resource)
and instructs the user to include the `angular-cookies.js` and load `ngCookies`.
Closes #3607
| -rw-r--r-- | src/ngCookies/cookies.js | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/src/ngCookies/cookies.js b/src/ngCookies/cookies.js index 68355707..7309b558 100644 --- a/src/ngCookies/cookies.js +++ b/src/ngCookies/cookies.js @@ -18,6 +18,17 @@ angular.module('ngCookies', ['ng']).     * Only a simple Object is exposed and by adding or removing properties to/from     * this object, new cookies are created/deleted at the end of current $eval.     * +   * # Installation +   * To use $cookies make sure you have included the `angular-cookies.js` that comes in Angular +   * package. You can also find this file on Google CDN, bower as well as at +   * {@link http://code.angularjs.org/ code.angularjs.org}. +   * +   * Finally load the module in your application: +   * +   *        angular.module('app', ['ngCookies']); +   * +   * and you are ready to get started! +   *     * @example     <doc:example>       <doc:source> | 
