/sublime-angular2-snippets

John Papa's snippets for sublime text

MIT LicenseMIT

Angular (2nd Generation) TypeScript Snippets for SublimeText

These snippets have been migrated from john papa's Visual Studio Snippets

Usage

Start typing ng2 in files with these extensions: .js, .ts, .html (for directives html snippets)

TypeScript Snippets

ng2-bootstrap
ng2-component-root
ng2-component
ng2-directive
ng2-guard-can-activate-child
ng2-guard-can-activate
ng2-guard-can-deactivate
ng2-guard-can-load
ng2-http-get
ng2-httpclient-get
ng2-module-root
ng2-module-routing
ng2-module
ng2-ngClass
ng2-ngIf
ng2-ngModel
ng2-ngStyle
ng2-ngSwitch
ng2-pipe
ng2-route-path
ng2-routerLink
ng2-routes
ng2-service
ng2-subscribe

###Directives (HTML) Snippets

ng2-ngClass
ng2-ngFor
ng2-ngIf
ng2-ngModel
ng2-routerLink
ng2-ngStyle
ng2-ngSwitch

Installation

Currently, download a zip or clone this repo to your sublime's User directory.