Getting started:
Related tutorials:
Getting started:
Related tutorials:
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | π :tada: |
| Version tag | π :bookmark: |
| New feature | β¨ :sparkles: |
| Bugfix | π :bug: |
| import { Component, OnInit, OnDestroy } from '@angular/core'; | |
| import {Http} from "@angular/http"; | |
| import { LocalCacheService } from "./local-cache.service"; | |
| @Component({ | |
| selector: 'app-example', | |
| templateUrl: './app.component.html', | |
| styleUrls: ['./app.component.scss'] | |
| }) | |
| export class ExampleComponent implements OnInit, OnDestroy { |
| @Component({ | |
| selector: 'app', | |
| template: ` | |
| <h1>Angular's content projection and lifecycle example</h1> | |
| <app-content> | |
| <app-nested-component></app-nested-component> | |
| </app-content> | |
| `, | |
| }) | |
| export class App {} |