Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import {Component, ViewEncapsulation} from '@angular/core';
selector: 'app-root',
template: `
<h1>Mon premier Component</h1>
styles: [`
h1 {
color : red;
encapsulation: ViewEncapsulation.Native
export class AppComponent {
title = 'app works!';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment