A whole lotta shit

This commit is contained in:
Max Lynch
2013-10-21 10:44:35 -05:00
parent 073b30c818
commit aad3bb92b5
48 changed files with 25083 additions and 320 deletions

View File

@ -0,0 +1,24 @@
(function() {
'use strict';
angular.module('ionic.ui.loading', [])
.directive('loading', function() {
return {
restrict: 'E',
replace: true,
transclude: true,
link: function($scope, $element){
$scope.$on('$destroy', function() {
$element.remove();
});
$element.addClass($scope.animation || '');
},
template: '<div class="loading-backdrop" ng-class="{enabled: showBackdrop}">' +
'<div class="loading" ng-transclude>' +
'</div>' +
'</div>'
};
});
})();