LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

  
    
     
    
    Ionic Modal

    
    
  
  
    
      
        
          

The Stooges

{{stooge.name}}
JS
angular.module('ionicApp', ['ionic'])
.controller('AppCtrl', function($scope, $timeout, $ionicLoading) {

  // Setup the loader
  $ionicLoading.show({
    content: 'Loading',
    animation: 'fade-in',
    showBackdrop: true,
    maxWidth: 200,
    showDelay: 0
  });
  
  // Set a timeout to clear loader, however you would actually call the $ionicLoading.hide(); method whenever everything is ready or loaded.
  $timeout(function () {
    $ionicLoading.hide();
    $scope.stooges = [{name: 'Moe'}, {name: 'Larry'}, {name: 'Curly'}];
  }, 2000);
  
});
Term
Mon, 11/27/2017 - 21:30

Related Codes

Pen ID
Pen ID
Square Adv