Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 945 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 945 Bytes

angular2-snippets-atom package - [Link] (https://atom.io/packages/angular2-snippets-atom)

Sumant Chhunchha [email protected] @Sumant

Feel free to drop an email or create a bug if you see something can be added or improved. Thank you for helping.

Angular 2 Snippets for TypeScript (.ts)

##############################################

As this is for Angular and TypeScript, I assume that you are working on Angular 2 so prefix is just 'ng'.

Have used styling from John Papa's course and material - Thanks @John_Papa.

  • ngComponent - Angular 2 new Component

  • ngService - Angular 2 new Service,

  • ngPipe - Angular 2 new Pipe

  • ngImport - Import Statement

  • ngImportComponent - Angular 2 import statement for Component from angular core

  • ngImportRouter - Angular 2 import Router

  • ngImportHttp - Angular 2 Http

  • ngImportRx - Observable and Subject from Rx