Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 403 Bytes
interface RouteOpts {
priority?: number;
}
interface RouteMaker {
(state: State, route: any[], get?: () => any[], set?: (...params: any[]) => ng.IPromise, opts?: RouteOpts): void;
}
interface Window {
routeGenerator: (routeProvider: ng.IRouteProviderProvider, $location: ng.ILocationService, $q: ng.IQService, $rootScope: ng.IRootScopeService, waitOn: ng.IPromise) => RouteMaker;
}