Skip to content

Instantly share code, notes, and snippets.

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 shlomiassaf/626c0c9bbacde2d1223f5f16194f5fa5 to your computer and use it in GitHub Desktop.
Save shlomiassaf/626c0c9bbacde2d1223f5f16194f5fa5 to your computer and use it in GitHub Desktop.
angular-general-purpose-template-var-simple.ts
import { Directive } from '@angular/core';
@Directive({
selector: '[var]',
exportAs: 'var'
})
export class VarDirective {
[key: string]: any;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment