Skip to content

Instantly share code, notes, and snippets.

/ad.directive.ts Secret

Created January 15, 2018 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a0609c554ffc6030d29ba32e53708d40 to your computer and use it in GitHub Desktop.
Save anonymous/a0609c554ffc6030d29ba32e53708d40 to your computer and use it in GitHub Desktop.
import { Directive, ViewContainerRef } from '@angular/core';
@Directive({
selector: '[ad-host]',
})
export class AdDirective {
constructor(public viewContainerRef: ViewContainerRef) { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment