// Type definitions for angular-loading-bar // Project: https://github.com/chieffancypants/angular-loading-bar // Definitions by: Stephen Lautier // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import * as angular from 'angular'; declare module 'angular' { export namespace loadingBar { interface ILoadingBarProvider { /** * Turn the spinner on or off */ includeSpinner?: boolean; /** * Turn the loading bar on or off */ includeBar?: boolean; /** * HTML template */ spinnerTemplate?: string; /** * Latency Threshold */ latencyThreshold?: number; } } interface IRequestShortcutConfig { /** * Indicates that the loading bar should be hidden. */ ignoreLoadingBar?: boolean; } }