javascript - Replace the angularjs pop-up and change to jquery -


hi in kind of unique situation. have code in angularjs , have given task join html in jquery. jquery page opens when click on particular link. checked code , find out calls modalservice.showmodal , passing 2 name. 1 template , 1 controller name. now, have done checked function defination is. there commented out if controller name empty go forward.

the function this-

self.showmodal = function(options) {          //  create deferred we'll resolve when modal ready.         var deferred = $q.defer();          //  validate input parameters.         var controllername = options.controller;         if (!controllername) {           //deferred.reject("no controller has been specified.");           //return deferred.promise;         } 

but if nothing happening. how can this. please me on this.

edit: have page in angularjs , html. there link in page pop-up. now, want change pop-up jquery pop-up. dont know how add it. here link have call jquery table has controller pass it.

here function of link in controller

//  link click     $scope.inventary = function () {         if ($scope.inmdata1 != "") {             modalservice.showmodal({                 templateurl: "chartpagepopup/details.html",                 controller: "details"             }).then(function (modal) {                 modal.close.then(function (result) {                  });             });         }         else             alert($scope.waitingalert);     }; 


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -