Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
doc(storages): note abotue Usage of ngCookies #919
Browse files Browse the repository at this point in the history
  • Loading branch information
Purus authored and knalli committed Mar 1, 2015
1 parent e637c01 commit ed79eda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/content/guide/en/10_storages.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ angular-translate has built-in support for two storages. **localStorage** and
supported by the browser the user currently uses. To use one of those storages,
you have to install the corresponding extension package.

Also remember to include angular-cookies.min.js file in your HTML and to add 'ngCookies' as dependency.

```js
var module = angular.module('AppService', ['pascalprecht.translate','ngCookies']);
```

## Using cookieStorage

If you want to use the cookieStorage to store the language over cross http requests,
Expand Down

0 comments on commit ed79eda

Please sign in to comment.