Getting following error for my Angular application after hosting it on AWS EC2 instance. Works fine on localhost

I have a static web page to publish the data from vendor API, code is based on Angular and background is nodejs. I am able to see the data on local host but when I try to host the application on my EC2 instance, i get below errors:,

Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:

Error: [$injector:nomod] Module ‘myApp’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.7/$injector/nomod?p0=myApp

at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:68:12
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:1986:17
at ensure (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:1910:38)
at module (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:1984:14)
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:4390:22
at forEach (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:336:20)
at loadModules (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:4374:5)
at createInjector (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:4299:11)
at doBootstrap (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:1657:20)
at bootstrap (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.js:1678:12)

http://errors.angularjs.org/1.4.7/$injector/modulerr?

App.js

    var app = angular.module("myApp", []);

app.controller('Hello', function ($scope, $http)
{
    $scope.fetchData= function()
    {
            $scope.items = [];
                $http({method : 'GET',url : 'https://api.victorops.com/api-public/v1/oncall/current',

                headers: {'Access-Control-Allow-Origin': '*','Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH','Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization');,'X-VO-Api-Id':'5c4bc373', 'X-VO-Api-Key':'dd0b3a6fa6e14a79af9806cb44dc7d78'}})

                    .success(function(data, status) {
                        $scope.items = data['teamsOnCall'];
                        console.log($scope.items);
                    })
                    .error(function(data, status) {
                        console.log("error");
                    });
            };
});

Source: New feed
Source Url Getting following error for my Angular application after hosting it on AWS EC2 instance. Works fine on localhost