Apply for Zend Framework Certification Training

Zend Framework 1




Step 1     create angularjs file and in That create a function to list data

$scope.getAllData = function(){
    var req = { method:'POST',
                        url:base_url+'module/controller/method/',
                        headers:{
                             'Content-Type':'application/json'
                         },
                      }
                      $http(req).success(function(respose, status, headers, config){
                          $scope.userlist = response;
                          $timeout(function(){
                              $("#userdata").val('');
                              $("#userdata").selectpicker("refresh");
                           },20);
                      }).error(function(data,status,headers, config){

                      });
  }
$scope.getAllData();                                    

< Sapna Last >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top