{"size": 470, "ext": "js", "max_stars_repo_path": "src/app/components/loading/loading.directive.js", "max_stars_repo_name": "ursbraem/oerebViewer", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/app/components/loading/loading.directive.js", "max_issues_repo_name": "ursbraem/oerebViewer", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/app/components/loading/loading.directive.js", "max_forks_repo_name": "ursbraem/oerebViewer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.4074074074, "max_line_length": 59, "alphanum_fraction": 0.5936170213}
export function LoadingDirective() {
    'ngInject';

    let directive = {
        restrict: 'E',
        templateUrl: 'app/components/loading/loading.html',
        controller: LoadingController,
        controllerAs: 'loading',
        bindToController: true
    };

    return directive;
}

class LoadingController {
    constructor(Loading) {
        'ngInject';

        this.Loading = Loading;
    }

    visible() {
        return this.Loading.visible;
    }

}
