<!doctype html>
<html ng-app>

<head>
  <title>With Angular - Your Name</title>
</head>

<body ng-controller="GreetingTextController">Your Name:
  <input type="text" ng-model="name" />
  <br/>{{greetingText}} - {{ name }}
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.28/angular.js"></script>
  <script src="GreetingTextController.js"></script>
</body>
</html>
 function GreetingTextController($scope) {
        $scope.greetingText = "Welcome to Angular World";
      }