title: Difficulty with Angular controller usage from old tutorial
body: <p>I'm going through a basic book for Angular, and it uses a controller to set up a field. However, I don't get the expected output. Searching here and elsewhere, it looks like I'm invoking it correctly, but something's not working. Anything obviously wrong? Anything else to try? Details below. Thanks.</p>
  
  <p>Document html:</p>
  
  <pre><code>&lt;html lang="en" ng-app ng-controller="AppCtrl"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;link rel="stylesheet" href="css/bootstrap.min.css"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script src="js/angular.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/controller.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Hello, {{name || 'World'}}&lt;/h1&gt;
    &lt;input type="text" ng-model="name"&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>controller.js:</p>
  
  <pre><code>function AppCtrl($scope) {
   $scope.name = "World";
  </code></pre>
  
  <p>(function closing brace lost by code formatting)</p>
  
  <p>Expected output is "Hello, World", but I get "Hello, {{name || 'World'}}"</p>