login alert

This commit is contained in:
venbatechnologies@gmail.com 2018-09-22 13:05:37 +05:30
parent d3552808b1
commit 009f07c7f4

View File

@ -133,11 +133,11 @@ app.controller('loginCtrl', ["$scope", "$http", "API_POINTS", "$state", '$rootSc
//alert($scope.myModel.userMobile); //alert($scope.myModel.userMobile);
// var studentNumber = $scope.myModel.userMobile; // var studentNumber = $scope.myModel.userMobile;
if($scope.myModel.userMobile !=''){ if($scope.myModel.userMobile !=''){
swal({ // swal({
title:"Please Wait..", // title:"Please Wait..",
imageUrl: 'https://cdn.dribbble.com/users/15774/screenshots/1759511/spinner.gif', // imageUrl: 'https://cdn.dribbble.com/users/15774/screenshots/1759511/spinner.gif',
showConfirmButton: false // showConfirmButton: false
}); // });
var req = { var req = {
method:'POST', method:'POST',
url:apiPoint.url + 'checkmobilenumber', url:apiPoint.url + 'checkmobilenumber',