From 4669b791a67ec17cd406252d2e653c1c71eea39b Mon Sep 17 00:00:00 2001 From: Rob Dodson Date: Thu, 15 Aug 2013 09:58:50 -0700 Subject: [PATCH] Update cookies documentation 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`. --- src/ngCookies/cookies.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ngCookies/cookies.js b/src/ngCookies/cookies.js index 683557077688..6dc1139339bf 100644 --- a/src/ngCookies/cookies.js +++ b/src/ngCookies/cookies.js @@ -17,6 +17,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