0

.controller('ExplorerCtrl', ["$scope", "appServices","$location", 'appSettings', function ($scope, appServices, $location, appSettings) {
 $scope.changeLocation = function() {
    $location.path('career'?name={{career.Name}});   
  };
  $scope.getCareerList = function(){
      appServices.doAPIRequest(appSettings.appAPI.career.overviewList, null, null).then(function(data){
       $scope.allCareer = data.data.n;
      })
    };

How to pass parameter from one controller to another page controller. the career.name I want to b appended in my next page API.

FKutsche
  • 392
  • 2
  • 17
srv
  • 61
  • 1
  • 1
  • 11

0 Answers0