Added NgRx-Data snippets
- Create an NgRx Data store module
a-ngrx-data-store-module - Create the entity metadata for NgRx Data
a-ngrx-data-entity-metadata - Create a data service using NgRx data entitites
a-ngrx-data-entity-collection-data-service
- Removed
a-module-routingsince the CLi does this for us and the new snippeta-module-with-routingis something the CLI doesn't - Modified
a-module-with-routingto addforChildorforRootas a prompt
- Added
a-module-with-routingto create an Angular module with routing combined into one file - Modified
a-route-path-404to removepathMatchFull, as it is no longer needed - Modified all services to default to using the
providedInsyntax
- Added
a-injectable-providedin
- Updated the routing children snippet to allow replacement of the main path
- Docker Snippets
- Updated dockerfile snippet to look for server.js in the root by default. Works better out of the box with the CLI this way
-
Docker Snippets
- Renamed
docker-angular-multi-stagetodocker-angular-node-multi-stagefor an node.js Dockerfile with Angular
- Renamed
-
Added command to the Command Palette for adding a new Express server file
-
Added documentation to README for new snippets
-
Updated the
README.mdfor v6 -
Updated version to v6, to match Angular
-
New Node.js Express snippet
- Snippet that is ideal for serving a simple node.js express app that serves the angular app
ex-node-server-simple
- Snippet that is ideal for serving a simple node.js express app that serves the angular app
-
Added
a-rxjs-importto import rxjs features fromrxjs(e.g. Observable, of, Subject)a-rxjs-operator-importto import rxjs operators (e.g. map, tap, catchError)
-
Removed several RxJs snippets as RxJS v6 recommends importing directly from
rxjsrx-add-operatorrx-add-observablerx-behavior-subjectrx-subjectrx-replay-subjectrx-observable
-
Removed older Http library snippets in favor of HttpClient
a-http-geta-service-http
- Fixed bug where dockerfile was pointing at wrong output folder
- Added TypeScript snippets
a-preload-strategy
- Added TypeScript snippets
a-route-path-with-childrena-route-params-subscribe
- Added multi-stage Docker file snippet
docker-angular-multi-stage
- update
a-routerLinkanda-routerLinkParamto includerouterLinkActive - Added HTML snippets
a-formControlNamea-formGroupa-formGroupName
Thanks to https://github.com/doggy8088 for the PR and idea Thanks to johnpapa#75 for the reactive forms
- Fixed
a-prejin HTML - Updated title of the extension
- Added
rx-operatorsfor Rx operators import - Updated images
- Updated to support Angular v5
- Updated some snippets to use lettable operators
a-http-interceptor-logginga-service-httpclient
Thanks to https://github.com/mohammedzamakhan for the
rx-operatorsPR.
- Merged PR to fix a bug with the
canActivateChildsnippet
- Removed Optional Theme
- Added Optional Theme
-
Added TypeScript snippets
a-http-interceptor-logging, AngularHttpInterceptorthat logs traffica-http-interceptor-headers, AngularHttpInterceptorthat sets headers
-
Updated TypeScript snippet
a-http-interceptorto be an empty interceptor
- Added TypeScript snippets
a-http-interceptor, AngularHttpInterceptorforHttpClient
- Added TypeScript snippets
a-router-events
-
Added HTML snippets
a-ngFor-trackBy
-
Added TypeScript snippets
a-component-inline
- Fixes
a-service-httpclientnow imports correct module
- Added TypeScript snippets for HttpClient
a-httpclient-getHttpClient.geta-service-httpclientService template for HttpClient
- Removed EventEmitter type from snippet, as it was implicit
- Fixed bug where event name and event type where mistakenly using the same snippet placeholder (#57)
-
Added JSON schema validation for Web App Manifest
-
Modified TypeScript snippets
- Removed
module.idfrom@Component
- Removed
-
Fixed all HTML and TypeScript snippets to use positional placeholders
-
Added TypeScript snippets for RxJS
- RxJS Observable
- RxJS BehaviorSubject
- RxJS ReplaySubject
- RxJS Subject
- RxJS add operator
- RxJS add observable
-
Fixed all TypeScript snippets added positional prefix to all named variable/placeholders e.g. ${name} --> ${1:name}
-
Removed TypeScript snippets
- a-bootstrap
- Added TypeScript snippets for
- skip self constructor
- default route path
- 404 route path
-
Added TypeScript snippets for
- eager route path
- lazy route path
- output event and emitter
- routing guards
- service with Http
-
Added HTML snippets for
[class]binding[style]binding[routerLink]with a parameter<select>control
- Added
ngForAsyncsnippet - Added
ngIfElsesnippet
- Change prefix from
ng2-toa-now that its just "Angular" - Added
jsonpipe snippets