@themost/web
Version:
MOST Web Framework 2.0 - Web Server Module
22 lines (18 loc) • 789 B
TypeScript
/**
* @license
* MOST Web Framework 2.0 Codename Blueshift
* Copyright (c) 2017, THEMOST LP All rights reserved
*
* Use of this source code is governed by an BSD-3-Clause license that can be
* found in the LICENSE file at https://themost.io/license
*/
import {HttpApplicationService} from "../types";
export declare class AngularServerModule extends HttpApplicationService {
useBootstrapModule(modulePath: string): AngularServerModule;
bootstrap(bootstrapFunc: (angular:any)=> void);
service(name: string, ctor: any): AngularServerModule;
directive(name: string, ctor: any): AngularServerModule;
filter(name: string, ctor: any): AngularServerModule;
controller(name: string, ctor: any): AngularServerModule;
createDocument(s: string): HTMLDocument;
}