mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-02 17:26:31 +08:00
Update docs from googledocs
* fixed typo in tutorial step-10 * revert cookbook/buzz example to use googlebuzz user
This commit is contained in:
@@ -32,7 +32,7 @@ to retrieve Buzz activity and comments.
|
||||
};
|
||||
</script>
|
||||
<div ng:controller="BuzzController">
|
||||
<input name="userId" value="misko.hevery"/>
|
||||
<input name="userId" value="googlebuzz"/>
|
||||
<button ng:click="fetch()">fetch</button>
|
||||
<hr/>
|
||||
<div class="buzz" ng:repeat="item in activities.data.items">
|
||||
|
||||
@@ -113,7 +113,7 @@ angular's server}.
|
||||
|
||||
* Let's add a new controller method to `PhoneCatCtrl`:
|
||||
|
||||
this.hello(name) = function(name) {
|
||||
this.hello = function(name) {
|
||||
alert('Hello ' + (name || 'world') + '!');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user