AngularJS - Uncaught Error: [$injector:nomod]
<p>Under controller folder, I have created CustomerController.js:</p>

<pre><code>(function () {
    angular.module('CustomerApp').controller('CustomerController', function ($scope) {

        $scope.customers = [
            {name: 'Sumit', age: 27, salary: 27000, address: 'Katwaria Sarai', joined: '2016-09-21'},
            {name: 'Ankit', age: 25, salary: 34000, address: 'Katwaria Sarai', joined: '2016-06-22'},
            {name: 'Kuldeep', age: 26, salary: 27000, address: 'Sangam Vihar', joined: '2016-01-21'},
            {name: 'Ashutosh', age: 27, salary: 27000, address: 'Vasundara', joined: '206-09-21'},
            {name: 'Rashid', age: 17, salary: 17000, address: 'Pune', joined: '2016-09-21'},
            {name: 'Shifali', age: 27, salary: 17000, address: 'Katwaria Sarai', joined: '2016-09-21'},
            {name: 'Anita', age: 27, salary: 19000, address: 'Katwaria Sarai', joined: '2016-09-17'},
            {name: 'Deepak', age: 27, salary: 29000, address: 'Mahipalpur', joined: '2016-09-15'},
            {name: 'Abhishek', age: 27, salary: 27000, address: 'Darjeeling', joined: '2016-09-19'},
            {name: 'Binetesh', age: 27, salary: 30000, address: 'Kishangar', joined: '2016-09-23'},
            {name: 'Devendra', age: 27, salary: 9000, address: 'Bangalore', joined: '2016-09-22'},
            {name: 'Himanshu', age: 27, salary: 15000, address: 'Sangam Vihar', joined: '2016-03-29'},
            {name: 'Parry', age: 27, salary: 12000, address: 'Siri', joined: '2016-01-07'},
            {name: 'Amit', age: 27, salary: 17000, address: 'Katwaria Sarai', joined: '2016-01-11'}
        ];
    });
}()); 
</code></pre>

<p>`
Under module folder I have a file app.js. The code is as follow:</p>

<pre><code> (function(){
     var CustomerApp = angular.module('CustomerApp',[]);
  }());
</code></pre>

<p>This is my index.jsp file that is described as follows:</p>

<pre><code>&lt;html ng-app="CustomerApp"&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
    &lt;link rel="sylesheet" href="css/mystyle.css"&gt;
    &lt;script src="js/angular.js"&gt;&lt;/script&gt;
    &lt;title&gt;Customer Page&lt;/title&gt;
&lt;/head&gt;
&lt;body ng-controller="CustomerController"&gt;
&lt;h2&gt;Customer Data&lt;/h2&gt;
Filter: &lt;input type="text"&gt;
&lt;br&gt;&lt;br&gt;
&lt;table border="1"&gt;
    &lt;tr&gt;
        &lt;th&gt;NAME&lt;/th&gt;
        &lt;th&gt;AGE&lt;/th&gt;
        &lt;th&gt;SALARY&lt;/th&gt;
        &lt;th&gt;ADDRESS&lt;/th&gt;
        &lt;th&gt;JOINED&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr ng-repeat="cust in customers"&gt;
        &lt;td&gt;{{cust.name | uppercase}}&lt;/td&gt;
        &lt;td&gt;{{cust.age | number}}&lt;/td&gt;
        &lt;td&gt;{{cust.salary | currency}}&lt;/td&gt;
        &lt;td&gt;{{cust.address}}&lt;/td&gt;
        &lt;td&gt;{{cust.joined | date}}&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
&lt;script src="controller/CustomerController.js"&gt;&lt;/script&gt;
&lt;script src="module/app.js"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I  am using angular.js file with version 1.5.0</p>

<p>When I am running this code, it gives this as an error:</p>

<blockquote>
  <p>Uncaught Error: [$injector:nomod] Module 'CustomerApp' is not available or its not loaded</p>
</blockquote>

<p>Please help me out. I have tried a lot and still no solution.</p>