title: Uncaught ReferenceError: angular is not defined. (posted by a newbie)
body: <p>Hi I am new to AngularJs. I am getting error:</p>
  
  <blockquote>
    <p>" Uncaught ReferenceError: angular is not defined. "</p>
  </blockquote>
  
  <p>I tried to find the error but couldn't figure out. Thanks. 
  the code i wrote was:-</p>
  
  <pre><code>&lt;html ng-app="firstApp"&gt;
  
  &lt;body ng-controller="firstController"&gt;
    Enter 1st name:&lt;input type="text" ng-model="firstName" /&gt;
    &lt;br/&gt; Enter last Name:&lt;input type="text" ng-model="lastName" /&gt;
    &lt;br&gt;
    &lt;button ng-click="getFullName()"&gt;Get Full Name&lt;/button&gt;
    &lt;hr/&gt; Full Name:&lt;label ng-bind="fullName"&gt;&lt;/label&gt;
    &lt;script scr="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"&gt;&lt;/script&gt;
    &lt;script&gt;
      var app = angular.module("firstApp", []);
      app.controller("firstController", function($scope) {
        $scope.firstName = "";
        $scope.lastName = "";
        $scope.fullName = "";
        $scope.getFullName = function() {
          $scope.fullName = $scope.firstName + "" + $scope.lastName;
        };
      });
    &lt;/script&gt;
  &lt;/html&gt; 
  </code></pre>