Stopping Angularjs from executing next line -


how tell angular stop process next lines when meet condition in if below.

code

if(!$scope.add.partcode){     var alertpopup = $ionicpopup.alert({       title: 'kartu stok ...',       template: 'silakan pilih part code terlebih dahulu.'     });     $ionicloading.hide();    }else {     var partcode = $scope.add.partcode.part_no;   }   ...   ...   ... 


Comments

Popular posts from this blog

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

database - How many Observations in SAS Sample Data Output -

How to Change swipe Tab Title color in java Android -