mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
18 lines
287 B
JavaScript
18 lines
287 B
JavaScript
/**
|
|
* @ngdoc directive
|
|
* @name ionLoader
|
|
* @module ionic
|
|
* @restrict E
|
|
* @description
|
|
*/
|
|
IonicModule
|
|
.directive('ionLoader', function() {
|
|
return {
|
|
restrict: 'E',
|
|
controller: '$ionicLoader',
|
|
link: function($scope, $element, $attrs, ctrl) {
|
|
ctrl.init();
|
|
}
|
|
};
|
|
});
|