diff options
| author | Vojta Jina | 2012-03-13 13:52:57 -0700 |
|---|---|---|
| committer | Vojta Jina | 2012-03-13 13:52:57 -0700 |
| commit | 63be222326f3badbb76371f82d49fed5ab9e3e65 (patch) | |
| tree | dec4d6f0e8fb72d8226f5a40cb4783b8e3787313 /docs/content/cookbook/buzz.ngdoc | |
| parent | a29c2cf70cb19f9fb4be2b62e7acd4054751ac51 (diff) | |
| download | angular.js-63be222326f3badbb76371f82d49fed5ab9e3e65.tar.bz2 | |
docs(input): Fix some broken links, add missing $, use ng- in examples
Diffstat (limited to 'docs/content/cookbook/buzz.ngdoc')
| -rw-r--r-- | docs/content/cookbook/buzz.ngdoc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/content/cookbook/buzz.ngdoc b/docs/content/cookbook/buzz.ngdoc index ca6a22b4..bf900223 100644 --- a/docs/content/cookbook/buzz.ngdoc +++ b/docs/content/cookbook/buzz.ngdoc @@ -31,22 +31,22 @@ to retrieve Buzz activity and comments. } }; </script> - <div ng:controller="BuzzController"> - <input ng:model="userId"/> - <button ng:click="fetch()">fetch</button> + <div ng-controller="BuzzController"> + <input ng-model="userId"/> + <button ng-click="fetch()">fetch</button> <hr/> - <div class="buzz" ng:repeat="item in activities.data.items"> + <div class="buzz" ng-repeat="item in activities.data.items"> <h1 style="font-size: 15px;"> - <img ng:src="{{item.actor.thumbnailUrl}}" style="max-height:30px;max-width:30px;"/> - <a ng:href="{{item.actor.profileUrl}}">{{item.actor.name}}</a> - <a href ng:click="expandReplies(item)" style="float: right;"> + <img ng-src="{{item.actor.thumbnailUrl}}" style="max-height:30px;max-width:30px;"/> + <a ng-href="{{item.actor.profileUrl}}">{{item.actor.name}}</a> + <a href ng-click="expandReplies(item)" style="float: right;"> Expand replies: {{item.links.replies[0].count}} </a> </h1> {{item.object.content | html}} - <div class="reply" ng:repeat="reply in item.replies.data.items" style="margin-left: 20px;"> - <img ng:src="{{reply.actor.thumbnailUrl}}" style="max-height:30px;max-width:30px;"/> - <a ng:href="{{reply.actor.profileUrl}}">{{reply.actor.name}}</a>: + <div class="reply" ng-repeat="reply in item.replies.data.items" style="margin-left: 20px;"> + <img ng-src="{{reply.actor.thumbnailUrl}}" style="max-height:30px;max-width:30px;"/> + <a ng-href="{{reply.actor.profileUrl}}">{{reply.actor.name}}</a>: {{reply.content | html}} </div> </div> |
