Question: can anyone point the mistake as to why i am unable to read the data from the controller ?

Link to plunker

[Plunker](https://plnkr.co/edit/4jnawDJgdMM61GYfpxor?p=preview)

```
<!DOCTYPE html>
<html ng-app>

  <head>
    <script data-require="angular.js.1.3@*" data-semver="1.5.2" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.js"></script>
    <script data-require="angular-route@*" data-semver="1.6.2" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular-route.js"></script>
    <link rel="stylesheet" href="style.css" />

    <script src="script.js"></script>

  </head>

  <body ng-controller="MainController">
    <h1> {{ message }} </h1>
  </body>

</html>

// Code goes here

// Code goes here

var MainController = function($scope) {

  $scope.message = "Hello";
};

```

Answer: 
Where is the `ng-app` name ? Provide module name.

```
angular.module('myApp',[])
    .controller('SomeCtrl',function($scope){ .. your code ...})

```

Provide it in `.html` file

```
<html ng-app="myApp"> 

```

Fixed your [Plunkr](https://plnkr.co/edit/W2N6yPR5fwN6ZZ3EMzou?p=preview)

> 
> You are referring to older version of AngularJS for learning and using 1.5 in plunkr. Check the below link
> 
> 
> 

For your app, refer

1. [this link](https://stackoverflow.com/questions/24054536/ngapp-without-using-any-specific-module-name)
2. [and this one too](https://stackoverflow.com/questions/30622133/using-ng-app-without-a-value)
Here you go!!

```
 <!DOCTYPE html>
    <html ng-app="app">

      <head>
    <script data-require="angular.js.1.3@*" data-semver="1.5.2" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.js"></script>
    <script data-require="angular-route@*" data-semver="1.6.2" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular-route.js"></script>
    <link rel="stylesheet" href="style.css" />

    <script src="script.js"></script>

  </head>

  <body ng-controller="MainController">
    <h1> {{ message }} </h1>
  </body>

</html>

// Code goes here

```

script.js 

```
angular.module('app',[]).controller('MainController',function MainController($scope) {
  $scope.message = "Hello";
})

```