如何使用相同的ng-controller检索多个页面上的多个表的记录?

I have 2 dashboards with index.php 1.offers.php 2.terminatio.php on offers page i have below script with myCtrl controller to fetch records of offers table. Its working.

var app = angular.module('myApp', []);  
app.controller('myCtrl', function($scope, $http) {
    $http.get("http://www.adhr.adnacgroup.com/ADHRM/companyJson.php")
    .then(function(response) {
        $scope.names = $scope.names = response.data.service;});
        getInfo();    
        function getInfo() {
            $http.post('getTask.php').success(function(data) {
                $scope.details = data;
            })
        }

Now, same code I am using on termination page

var app = angular.module('myApp', []);  
app.controller('termination', function($scope, $http) {
    $http.get("http://www.adhr.adnacgroup.com/ADHRM/companyJson.php")
    .then(function(response) {
        $scope.names = $scope.names = response.data.service;
    });
    getInfo();    
    function getInfo() {
        $http.post('gettermination.php').success(function(data) {
            $scope.details = data;
    })
}

on both page I'm using different controllers. and on index.php I called ng-app. I'm able to fetch only offers script. termination's script is not working.please help me with the same I'm totally new in angular