How to use the ng2-adsense.AdsenseModule.forRoot function in ng2-adsense

To help you get started, we’ve selected a few ng2-adsense 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 oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / pages / coins / coins.module.ts View on Github external
import { routing }       from './coins.routing';
import { Coins }       from './coins.component';
import { CoinOverview } from './components/overview/overview.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NgaModule,
        ModalModule.forRoot(),
        MarkdownModule.forRoot(),
        TooltipModule.forRoot(),
        TranslateModule.forRoot(),
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        routing
    ],
    declarations: [
        Coins,
        CoinOverview
    ]
})
export class CoinsModule {
}
github oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / pages / faucet / faucet.module.ts View on Github external
import { FaucetOwner } from './components/owner/overview.component';
import { FaucetUserOverview } from './components/user/overview.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NgaModule,
        ModalModule.forRoot(),
        MarkdownModule.forRoot(),
        TooltipModule.forRoot(),
        TranslateModule.forRoot(),
        SimpleNotificationsModule.forRoot(),
        Ng2SmartTableModule,
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        routing
    ],
    declarations: [
        Faucet,
        FaucetOverview,
        FaucetOwner,
        FaucetUserOverview
    ]
})
export class FaucetModule {
}
github oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / pages / addresses / addresses.module.ts View on Github external
import { ModalModule } from 'ngx-bootstrap';

import { routing }       from './addresses.routing';
import { Addresses } from './addresses.component';
import { Overview } from './components/overview/overview.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NgaModule,
        ModalModule.forRoot(),
        MarkdownModule.forRoot(),
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        routing
    ],
    declarations: [
        Addresses,
        Overview
    ]
})
export class AddressesModule {
}
github oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / pages / explorer / explorer.module.ts View on Github external
import { routing }       from './explorer.routing';
import { Explorer }       from './explorer.component';
import { ExplorerResult } from './components/overview/overview.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NgaModule,
        ModalModule.forRoot(),
        MarkdownModule.forRoot(),
        TooltipModule.forRoot(),
        TranslateModule.forRoot(),
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        routing
    ],
    declarations: [
        Explorer,
        ExplorerResult
    ]
})
export class ExplorerModule {
}
github dcaslin / d2-checklist / src / app / shared / shared.module.ts View on Github external
import { ItemEnergyIndicatorComponent } from './item-energy-indicator/item-energy-indicator.component';
import { ItemIconComponent } from './item-icon/item-icon.component';
import { MilestoneCheckComponent } from './milestone-check/milestone-check.component';
import { PipeModule } from './pipe';
import { SeasonIndicatorComponent } from './season-indicator/season-indicator.component';
import { SignInRequiredComponent } from './sign-in-required/sign-in-required.component';
import { SortIndicatorComponent } from './sort-indicator/sort-indicator.component';

@NgModule({
  imports: [
    PipeModule,
    CommonModule,
    FormsModule,
    FontAwesomeModule,
    MomentModule,
    AdsenseModule.forRoot({
      adClient: 'ca-pub-4577479845324857',
      adSlot: 7862857321 // 7862857321 responsive right 6246523328 responsive banner
    }),
    MatButtonModule,
    MatButtonModule,
    MatToolbarModule,
    MatSelectModule,
    MatTabsModule,
    MatInputModule,
    MatProgressSpinnerModule,
    MatChipsModule,
    MatCardModule,
    MatDialogModule,
    MatSidenavModule,
    MatCheckboxModule,
    MatAutocompleteModule,
github oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / app.module.ts View on Github external
restoreInputValues: () => void,
    disposeOldHosts: () => void
};

/**
 * `AppModule` is the main entry point into Angular2's bootstraping process
 */
@NgModule({
    bootstrap: [App],
    declarations: [
        App
    ],
    imports: [ // import Angular's modules
        BrowserModule,
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        HttpClientModule,
        RouterModule,
        FormsModule,
        ReactiveFormsModule,
        NgaModule.forRoot(),
        TooltipModule.forRoot(),
        SimpleNotificationsModule.forRoot(),
        MarkdownModule.forRoot(),
        PagesModule,
        ApiModule,
        ApiModuleCoin,
        TranslateModule.forRoot(),
        routing
github oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / pages / dashboard / dashboard.module.ts View on Github external
import { Overview } from '../addresses/components/overview/overview.component';
import { PaymentOverview } from '../payments/components/overview/overview.component';
import { TransactionOverview } from '../transactions/components/overview/overview.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NgaModule,
        ModalModule.forRoot(),
        MarkdownModule.forRoot(),
        TooltipModule.forRoot(),
        TranslateModule.forRoot(),
        SimpleNotificationsModule.forRoot(),
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        routing
    ],
    declarations: [
        MultiWalletInfoFull,
        MultiWallet,
        WalletInfoFull,
        WalletInfo,
        ServerInfo,
        Dashboard,
        Overview,
        PaymentOverview,
        TransactionOverview
    ]
github kappys1 / angular2-carousel / src / app / app.module.ts View on Github external
ExamplesComponent,
    ApiComponent,
    SafeHtmlPipe,
    GetStartedComponent,
    PropertiesCarouselComponent,
    FunctionsCarouselComponent,
    CubeCarouselComponent,
    StyleCarouselComponent,
    AutoplayCarouselComponent,
    MultipleSliderCarouselComponent,
  ],
  imports: [
    RouterModule.forRoot(
      appRoutes
    ),
    AdsenseModule.forRoot({
      adClient: 'ca-pub-7640562161899788',
      adSlot: 7259870550
    }),
    CarouselModule,
    BrowserModule
  ],
  providers: [SimpleCarouselService],
  bootstrap: [AppComponent]
})
export class AppModule { }

ng2-adsense

Adsense for Angular

MIT
Latest version published 8 months ago

Package Health Score

56 / 100
Full package analysis

Popular ng2-adsense functions