Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maximepvrt committed Mar 17, 2015
1 parent 608ffec commit f9cddb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ Get user info after login is very simple.
```javascript
app.controller('myController', ['$rootScope',
function myController($rootScope) {
console.log($rootScope.user)
console.log($rootScope.gapi.user)
}
]);
```
```html
<h1>{{user.name}}</h1>
<h1>{{gapi.user.name}}</h1>
```
User object :
- user.email
Expand Down

0 comments on commit f9cddb1

Please sign in to comment.