mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
Update docs from googledocs
* fixed typo in tutorial step-10 * revert cookbook/buzz example to use googlebuzz user
This commit is contained in:
parent
7460a7ef61
commit
c8ee00cb2b
2 changed files with 2 additions and 2 deletions
|
|
@ -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') + '!');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue