diff options
Diffstat (limited to 'docs/content/cookbook/buzz.ngdoc')
| -rw-r--r-- | docs/content/cookbook/buzz.ngdoc | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/docs/content/cookbook/buzz.ngdoc b/docs/content/cookbook/buzz.ngdoc index a1e4a8b2..fad4c1ff 100644 --- a/docs/content/cookbook/buzz.ngdoc +++ b/docs/content/cookbook/buzz.ngdoc @@ -15,6 +15,7 @@ to retrieve Buzz activity and comments.      <script>      BuzzController.$inject = ['$resource'];      function BuzzController($resource) { +     this.userId = 'googlebuzz';       this.Activity = $resource(        'https://www.googleapis.com/buzz/v1/activities/:userId/:visibility/:activityId/:comments',        {alt: 'json', callback: 'JSON_CALLBACK'}, @@ -32,7 +33,7 @@ to retrieve Buzz activity and comments.      };      </script>      <div ng:controller="BuzzController"> -     <input name="userId" value="googlebuzz"/> +     <input ng:model="userId"/>       <button ng:click="fetch()">fetch</button>       <hr/>       <div class="buzz" ng:repeat="item in activities.data.items"> | 
