I want to use another method from another Controller in an Angularjs Module. I have two Controller one named: Booklist Controller in bookApp Module. and another one named ShowEachBook. In Booklist Controller I create ViewItem() method which can be accessible from View_A_book() method in ShowEachBook Controller.
Here is my Controller in BookApp module
var bookApp = angular.module('bookApp', []);
bookApp.controller('bookListCtr', function ($scope, $http) {
    $scope.ViewItems = function ($id) {
        $this->View_A_book($id);// This is example because I want to used View_A_book() method here
    };
 })
And here is the ShowEachBook Controller
bookApp.controller('ShowEachBook', function ($scope, $http) {
  $scope.View_A_book = function($id){
       /// get book from server.
  }
})
 
     
     
     
    