Argument 'cotroller' is not a function, got undefined
<p>This is my HTML file</p>

<pre><code>&lt;head&gt;
    &lt;meta charset="UTF-8"/&gt;
    &lt;title&gt;CBIR&lt;/title&gt;
    &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"&gt;
    &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="../js/angular.js"&gt;&lt;/script&gt;
    &lt;script src="../js/AngularCotroller.js"&gt;&lt;/script&gt;
    &lt;script src="../js/ApiCallService.js"&gt;&lt;/script&gt;
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div ng-app="App"&gt;
    &lt;div ng-controller="AppController"&gt;
         &lt;div class="form-group row"&gt;
            &lt;button id="btnGetKey" class="btn btn-default" ng-click="btnGetKey()"&gt;Get Key&lt;/button&gt;
            &lt;p&gt; {{message}}&lt;/p&gt;
        &lt;/div&gt;


        &lt;br&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/script&gt;
</code></pre>

<p>This is AngularController.js file</p>

<pre><code>var angularmodule = angular.module('App', []);

angularmodule.controller('AppController', function ($scope, $http, ApiCall)      {
//Intital message value
$scope.message = "Don't Give up";
$scope.btnGetkey = function () {

    var result = ApiCall.GetKeyFromServer().success(function (data) {
        var data = $.parseJSON(JSON.parse(data));
        $scope.message = data;
        $scope.message = "123123123";
    });
};


});
</code></pre>

<p>This  is ApiServiceCall file</p>

<pre><code>angularmodule.service('ApiCall', ['$http', function ($http) 
{
var result;

// This is used for calling get methods from web api
this.GetKeyFromServer = function () {
    result = $http.get('http://localhost:8090/CBIR/checkReturn').success(function (data, status) {
        result = (data);
    }).error(function () {
        alert("Something went wrong");
    });
    return result;
};

}]);
</code></pre>

<p>When i load the index file  Error: [ng:areq] Argument 'AppController' is not a function, got undefined
<a href="http://errors.angularjs.org/1.2.16/ng/areq?p0=AppController&amp;p1=not%20a%20function%2C%20got%20undefined" rel="nofollow">http://errors.angularjs.org/1.2.16/ng/areq?p0=AppController&amp;p1=not%20a%20function%2C%20got%20undefined</a>
i get this error. Please help</p>