An open API service indexing awesome lists of open source software.

30-seconds-of-angular

Curated collection of Angular snippets that you can understand in 30 seconds or less
https://github.com/fetis/30-seconds-of-angular

Last synced: 12 days ago
JSON representation

Advanced snippets

Getting components of different types with ViewChild

Router Custom Preloading

SVG

Beginner snippets

Accessing Enums in template

Cheat Sheets and Checklists

Component State Debugging

Default ViewEncapsulation value

hammerjs-gestures

Loader Component

ng-content

ngIf else

Optional parameters in the middle

Renaming inputs and outputs

Safe Navigation Operator

trackBy in for loops

Understanding Microsyntax

Intermediate snippets

Accessing all nested form controls

Adding keyboard shortcuts to elements

Bind to host properties with host binding

Component level providers

Global event listeners

Injecting document

Mark reactive fields as touched

Observables as outputs

Passing template as an input

Preseving whitespaces

Reusing code in template

Reusing existing custom pipes

Style bindings

Two-way binding any property

Using APP_INITIALIZER to delay app start

Window Location injection