Skip to content

Commit 767eda7

Browse files
committed
Merge pull request #40 from seegno/bugfix/readme
Fix missing dependency on readme example
2 parents dcb5e6e + 6228b56 commit 767eda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ angular.module('myApp', ['angular-oauth2'])
4848

4949
```js
5050
angular.module('myApp', ['angular-oauth2'])
51-
.run(['$rootScope', '$window', function($rootScope, $window, OAuth) {
51+
.run(['$rootScope', '$window', 'OAuth', function($rootScope, $window, OAuth) {
5252
$rootScope.$on('oauth:error', function(event, rejection) {
5353
// Ignore `invalid_grant` error - should be catched on `LoginController`.
5454
if ('invalid_grant' === rejection.data.error) {

0 commit comments

Comments
 (0)