How to use the @angular/http/src/http_module.HttpModule function in @angular/http

To help you get started, we’ve selected a few @angular/http 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 / content / docs / v2 / demos / src / infinite-scroll / 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));
        this._Config_21 = import67.setupConfig(this._ConfigToken_12, this._QueryParams_14, this._Platform_20);
github ionic-team / ionic-site / docs / v2 / demos / src / infinite-scroll / 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));
    this._Config_21 = import69.setupConfig(this._ConfigToken_12,this._QueryParams_14,this._Platform_20);
github ionic-team / ionic-site / content / docs / v2 / demos / src / config / 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));
        this._Config_21 = import67.setupConfig(this._ConfigToken_12, this._QueryParams_14, this._Platform_20);
github ionic-team / ionic-site / docs / v2 / demos / src / config / 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));
    this._Config_21 = import69.setupConfig(this._ConfigToken_12,this._QueryParams_14,this._Platform_20);
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));
        this._Config_21 = import69.setupConfig(this._ConfigToken_12, this._QueryParams_14, this._Platform_20);
github ionic-team / ionic-site / docs / v2 / demos / src / tabs / 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));
    this._Config_21 = import69.setupConfig(this._ConfigToken_12,this._QueryParams_14,this._Platform_20);
github ionic-team / ionic-site / content / docs / v2 / demos / src / loading / 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));
        this._Config_21 = import67.setupConfig(this._ConfigToken_12, this._QueryParams_14, this._Platform_20);
github ionic-team / ionic-site / content / docs / v2 / demos / src / slides / 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));
        this._Config_21 = import67.setupConfig(this._ConfigToken_12, this._QueryParams_14, this._Platform_20);
github ionic-team / ionic-site / content / docs / v2 / demos / src / radio / 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));
        this._Config_21 = import67.setupConfig(this._ConfigToken_12, this._QueryParams_14, this._Platform_20);
github ronzeidman / ng2-ui-auth / src / ng2-ui-auth.module.ngfactory.ts View on Github external
createInternal():import1.Ng2UiAuthModule {
    this._HttpModule_0 = new import2.HttpModule();
    this._Ng2UiAuthModule_1 = new import1.Ng2UiAuthModule();
    return this._Ng2UiAuthModule_1;
  }
  getInternal(token:any,notFoundResult:any):any {