Skip to content

Commit

Permalink
Merge pull request #44 from maxisam/hotfix/lazy_loading_issue
Browse files Browse the repository at this point in the history
fix: import commonmodule instead of browser module
  • Loading branch information
maxisam committed Apr 30, 2017
2 parents ac27562 + ef7ef76 commit 2f83769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommonModule } from '@angular/common';
import { WindowSrv } from './window.service';
import { BrowserModule } from '@angular/platform-browser';
import { ClipboardService } from './clipboard.service';
import { ModuleWithProviders, NgModule } from '@angular/core';
import { ClipboardDirective } from './clipboard.directive';
Expand All @@ -9,7 +9,7 @@ export * from './clipboard.service';
@NgModule({
declarations: [ClipboardDirective],
exports: [ClipboardDirective],
imports: [BrowserModule]
imports: [CommonModule]
})
export class ClipboardModule {
public static forRoot(): ModuleWithProviders {
Expand Down

0 comments on commit 2f83769

Please sign in to comment.