Skip to content

Commit 50af200

Browse files
author
João Granado
committed
Update README.md
1 parent d5669b2 commit 50af200

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Choose your preferred method:
1717
###### 1. Download `angular-oauth2` dependencies.
1818

1919
* [angular](https://github.com/angular/angular.js)
20-
* [angular-cookie](https://github.com/ivpusic/angular-cookie)
20+
* [angular-cookies](https://github.com/angular/bower-angular-cookies)
2121
* [query-string](https://github.com/sindresorhus/query-string)
2222

2323
If you're using `bower` they will be automatically downloaded upon installing this library.
@@ -26,7 +26,7 @@ If you're using `bower` they will be automatically downloaded upon installing th
2626

2727
```html
2828
<script src="<VENDOR_FOLDER>/angular/angular.min.js"></script>
29-
<script src="<VENDOR_FOLDER>/angular-cookie/dist/angular-cookie.min.js"></script>
29+
<script src="<VENDOR_FOLDER>/angular-cookies/angular-cookies.min.js"></script>
3030
<script src="<VENDOR_FOLDER>/query-string/query-string.min.js"></script>
3131
<script src="<VENDOR_FOLDER>/angular-oauth2/dist/angular-oauth2.min.js"></script>
3232
```
@@ -146,7 +146,8 @@ OAuth.revokeToken()
146146

147147
#### OAuthTokenProvider
148148

149-
`OAuthTokenProvider` uses [angular-cookie](https://github.com/ivpusic/angular-cookie) to store the cookies. Check the [available options](https://github.com/ivpusic/angular-cookie#options).
149+
`OAuthTokenProvider` uses [angular-cookies](https://github.com/angular/bower-angular-cookies) to store the cookies. Check the [available options](https://code.angularjs.org/1.4.0/docs/api/ngCookies/service/$cookies).
150+
**BREAKING CHANGE**: `angular-oauth2` requires angular 1.4 or above in order to store cookies with additional options.
150151

151152
Configuration defaults:
152153

0 commit comments

Comments
 (0)