(function() {
    'use strict';

    var app = angular.module('MovieDatabase');

    app.service('MovieService', function($http) {
        this.loadList = function() {
            return $http.get('/movies');
        };

        this.load = function(id) {
            return $http.get('/movies/' + id);
        };
    });
})();

(function() {
    'use strict';

    var app = angular.module('MovieDatabase');

    app.service('MovieService', function($http) {
        this.loadList = function() {
            return $http.get('/movies');
        };

        this.load = function(id) {
            return $http.get('/movies/' + id);
        };
    });

    app.service('ActorService', function($http) {
        this.loadList = function() {
            return $http.get('/actors');
        };

        this.load = function(id) {
            return $http.get('/actors/' + id);
        };
    });
})();

Add actor services in client