diff options
| author | NimaVaziri | 2013-06-20 10:25:11 -0300 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-20 14:39:16 +0100 | 
| commit | 3621896e9d7dfdba14ae0e554037868d7cbca3c8 (patch) | |
| tree | 7b760a681663fc7d98785c9a7d12c558a3434e38 /docs/content/cookbook/helloworld.ngdoc | |
| parent | 8264d08085adc2ab57f6598b9fc9f6e263c8b4f3 (diff) | |
| download | angular.js-3621896e9d7dfdba14ae0e554037868d7cbca3c8.tar.bz2 | |
docs(cookbook/helloworld): display "World" if no name is entered
Diffstat (limited to 'docs/content/cookbook/helloworld.ngdoc')
| -rw-r--r-- | docs/content/cookbook/helloworld.ngdoc | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/content/cookbook/helloworld.ngdoc b/docs/content/cookbook/helloworld.ngdoc index 05748231..8b693a63 100644 --- a/docs/content/cookbook/helloworld.ngdoc +++ b/docs/content/cookbook/helloworld.ngdoc @@ -10,9 +10,9 @@      }    </script>    <div ng-controller="HelloCntl"> -    Your name: <input type="text" ng-model="name" value="World"/> +    Your name: <input type="text" ng-model="name"/>      <hr/> -    Hello {{name}}! +    Hello {{name || "World"}}!    </div>   </doc:source>   <doc:scenario> | 
