https://github.com/andresaraujo/atom-angular2-snippets
Angular 2 snippets for Atom
https://github.com/andresaraujo/atom-angular2-snippets
atom-plugin
Last synced: 4 months ago
JSON representation
Angular 2 snippets for Atom
- Host: GitHub
- URL: https://github.com/andresaraujo/atom-angular2-snippets
- Owner: andresaraujo
- License: mit
- Created: 2015-12-29T22:59:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T01:00:32.000Z (over 8 years ago)
- Last Synced: 2025-03-12T10:44:35.127Z (11 months ago)
- Topics: atom-plugin
- Size: 8.79 KB
- Stars: 9
- Watchers: 2
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
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.