Skip to content

andresaraujo/atom-angular2-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular 2 Snippets for Atom

A collection of common Angular 2 snippets for Dart and Typescript

Imports

  • ng2_ng -> Snippet for importing Angular core library
  • ng2_boot -> Snippet for importing Angular bootstrap library
  • ng2_router -> Snippet for importing Angular router library

Components

  • ng2c -> Creates an Angular 2 component class

Directive

  • ng2d -> Creates an Angular 2 directive class

Service

  • ng2s -> Creates a service class annotated with ´@Injectable()´

Pipe

  • ng2p -> Creates an Angular 2 Pipe class

HTML

  • ng2For -> Creates a snippet for ngFor directive

  • ng2If -> Creates a snippet for ngIf directive

  • ng2Switch -> Creates a snippet for ngSwitch directive

  • ng2Class -> Creates a snippet for ngClass directive.

  • ng2Model -> Creates a snippet for ngModel directive.

About

Angular 2 snippets for Atom

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published