import {Component, NgModule} from '@angular/core';

@Component({
  selector: 'my-component',
  template: `
  <ng-template i18n>My i18n block #1</ng-template>
  <ng-container i18n>My i18n block #2</ng-container>
`,
})
export class MyComponent {
}

@NgModule({declarations: [MyComponent]})
export class MyModule {
}