Guest User

Untitled

a guest
Apr 25th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. function showLoading() {
  2. console.log("Loading")
  3. $ionicLoading.show({
  4. content: 'Loading',
  5. animation: 'fade-in',
  6. showBackdrop: true,
  7. maxWidth: 200,
  8. showDelay: 0
  9. });
  10. };
  11.  
  12. function hideLoading(){
  13. console.log("hide loading")
  14. $ionicLoading.hide();
  15. };
  16.  
  17. $scope.showLoading = function () {
  18.  
  19. console.log("Loading");
  20.  
  21. $ionicLoading.show({
  22. content: 'Loading',
  23. animation: 'fade-in',
  24. showBackdrop: true,
  25. maxWidth: 200,
  26. showDelay: 0
  27. });
  28.  
  29. };
  30.  
  31. $scope.hideLoading = function () {
  32. console.log("hide loading");
  33. $ionicLoading.hide();
  34. };
Add Comment
Please, Sign In to add comment