How to use the angulartics2.Angulartics2Module.forChild function in angulartics2

To help you get started, we’ve selected a few angulartics2 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 ecsnavarretemit / sarai-interactive-maps / src / app / map / pages / home / home.module.ts View on Github external
import { TooltipModule } from 'ng2-bootstrap/tooltip';
import { Angulartics2Module } from 'angulartics2';

import { MapUiModule } from '../../ui';
import { LeafletModule } from '../../../leaflet';

import { HomeComponent } from './home/home.component';
import { MapTypeComponent } from './map-type/map-type.component';

@NgModule({
  imports: [
    CommonModule,
    RouterModule,
    TranslateModule,
    TooltipModule,
    Angulartics2Module.forChild(),
    LeafletModule,
    MapUiModule,
  ],
  declarations: [
    HomeComponent,
    MapTypeComponent
  ],
  exports: [
    HomeComponent,
    MapTypeComponent
  ]
})
export class HomeModule { }

angulartics2

Vendor-agnostic web analytics for Angular2 applications

MIT
Latest version published 17 days ago

Package Health Score

87 / 100
Full package analysis