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 {} |