https://github.com/angular/angular
Raw File
Tip revision: 0560751381df2250419efec0207297a9271688a8 authored by Vikram Subramanian on 22 July 2018, 07:05:53 UTC
fix(core): stop reusing provider definitions across NgModuleRef instances (#25088)
Tip revision: 0560751
hello-world.component.ts
import {Component} from '@angular/core';

@Component({
  selector: 'hello-world-app',
  template: `<div i18n="desc|meaning" title="i18n attribute should be removed">Hello {{ name }}!</div>`,
})
export class HelloWorldComponent {
  name: string = 'world';
}
back to top