How to use the @angular/platform-browser/src/browser.BrowserModule function in @angular/platform-browser

To help you get started, we’ve selected a few @angular/platform-browser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ionic-team / ionic-site / docs / v2 / demos / src / item / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import66.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import67.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import68.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import59.NgZone));
github ionic-team / ionic-site / docs / v2 / demos / src / loading / app.module.ngfactory.ts View on Github external
createInternal():import1.AppModule {
    this._CommonModule_0 = new import2.CommonModule();
    this._ApplicationModule_1 = new import3.ApplicationModule();
    this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
    this._HttpModule_3 = new import5.HttpModule();
    this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
    this._FormsModule_5 = new import7.FormsModule();
    this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
    this._IonicModule_7 = new import8.IonicModule();
    this._AppModule_8 = new import1.AppModule();
    this._ErrorHandler_11 = import4.errorHandler();
    this._ConfigToken_12 = (null as any);
    this._UrlToken_13 = import8.provideLocationHref();
    this._QueryParams_14 = import66.setupQueryParams(this._UrlToken_13);
    this._PlatformConfigToken_15 = import67.providePlatformConfigs();
    this._UserAgentToken_16 = import8.provideUserAgent();
    this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
    this._DocumentDirToken_18 = import8.provideDocumentDirection();
    this._DocLangToken_19 = import8.provideDocumentLang();
    this._Platform_20 = import68.setupPlatform(this._PlatformConfigToken_15,this._QueryParams_14,this._UserAgentToken_16,this._NavigatorPlatformToken_17,this._DocumentDirToken_18,this._DocLangToken_19,this.parent.get(import59.NgZone));
github ionic-team / ionic-site / content / docs / v2 / demos / src / navigation / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import64.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import65.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import66.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import58.NgZone));
github ionic-team / ionic-site / content / docs / v2 / demos / src / item-reorder / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import64.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import65.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import66.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import58.NgZone));
github ag-grid / ag-grid-angular-example / aot / app / app.module.ngfactory.ts View on Github external
createInternal():import1.AppModule {
    this._CommonModule_0 = new import2.CommonModule();
    this._ApplicationModule_1 = new import3.ApplicationModule();
    this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
    this._InternalFormsSharedModule_3 = new import5.InternalFormsSharedModule();
    this._FormsModule_4 = new import6.FormsModule();
    this._ROUTER_FORROOT_GUARD_5 = import7.provideForRootGuard(this.parent.get(import70.Router,(null as any)));
    this._RouterModule_6 = new import7.RouterModule(this._ROUTER_FORROOT_GUARD_5);
    this._AgGridModule_7 = new import8.AgGridModule();
    this._RatioModule_8 = new import9.RatioModule();
    this._ClickableModule_9 = new import10.ClickableModule();
    this._AppModule_10 = new import1.AppModule();
    this._ErrorHandler_13 = import4.errorHandler();
    this._ApplicationInitStatus_14 = new import12.ApplicationInitStatus(this.parent.get(import12.APP_INITIALIZER,(null as any)));
    this._Testability_15 = new import13.Testability(this.parent.get(import57.NgZone));
    this._ApplicationRef__16 = new import14.ApplicationRef_(this.parent.get(import57.NgZone),this.parent.get(import71.Console),this,this._ErrorHandler_13,this,this._ApplicationInitStatus_14,this.parent.get(import13.TestabilityRegistry,(null as any)),this._Testability_15);
    this._NoPreloading_45 = new import28.NoPreloading();
    this._PreloadingStrategy_46 = this._NoPreloading_45;
    this._RouterPreloader_47 = new import28.RouterPreloader(this._Router_43,this._NgModuleFactoryLoader_41,this._Compiler_18,this,this._PreloadingStrategy_46);
    return this._AppModule_10;
github ionicthemes / ionic2-socialsharing-with-deeplinking-example / .tmp / app / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import71.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import72.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import73.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import64.NgZone));
github ionic-team / ionic-site / content / docs / v2 / demos / src / nav-params / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import64.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import65.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import66.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import58.NgZone));
github ionic-team / ionic-site / content / docs / v2 / demos / src / modal / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import64.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import65.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import66.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import58.NgZone));
github ionic-team / ionic-site / docs / v2 / demos / src / popover / app.module.ngfactory.js View on Github external
AppModuleInjector.prototype.createInternal = function () {
        this._CommonModule_0 = new import2.CommonModule();
        this._ApplicationModule_1 = new import3.ApplicationModule();
        this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule, null));
        this._HttpModule_3 = new import5.HttpModule();
        this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
        this._FormsModule_5 = new import7.FormsModule();
        this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
        this._IonicModule_7 = new import8.IonicModule();
        this._AppModule_8 = new import1.AppModule();
        this._ErrorHandler_11 = import4.errorHandler();
        this._ConfigToken_12 = null;
        this._UrlToken_13 = import8.provideLocationHref();
        this._QueryParams_14 = import66.setupQueryParams(this._UrlToken_13);
        this._PlatformConfigToken_15 = import67.providePlatformConfigs();
        this._UserAgentToken_16 = import8.provideUserAgent();
        this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
        this._DocumentDirToken_18 = import8.provideDocumentDirection();
        this._DocLangToken_19 = import8.provideDocumentLang();
        this._Platform_20 = import68.setupPlatform(this._PlatformConfigToken_15, this._QueryParams_14, this._UserAgentToken_16, this._NavigatorPlatformToken_17, this._DocumentDirToken_18, this._DocLangToken_19, this.parent.get(import59.NgZone));
github angular / angular / modules / benchmarks / src / tree / ng2_ftl / app.ngfactory.ts View on Github external
createInternal(): import1.AppModule {
    this._CommonModule_0 = new import2.CommonModule();
    this._ApplicationModule_1 = new import3.ApplicationModule();
    this._BrowserModule_2 =
        new import4.BrowserModule(this.parent.get(import4.BrowserModule, (null as any)));
    this._AppModule_3 = new import1.AppModule();
    this._ErrorHandler_6 = import4.errorHandler();
    this._ApplicationInitStatus_7 =
        new import6.ApplicationInitStatus(this.parent.get(import6.APP_INITIALIZER, (null as any)));
    this._Testability_8 = new import7.Testability(this.parent.get(import22.NgZone));
    this._ApplicationRef__9 = new import8.ApplicationRef_(
        this.parent.get(import22.NgZone), this.parent.get(import24.Console), this,
        this._ErrorHandler_6, this, this._ApplicationInitStatus_7,
        this.parent.get(import7.TestabilityRegistry, (null as any)), this._Testability_8);
    return this._AppModule_3;
  }
  getInternal(token: any, notFoundResult: any): any {