I\'m writing angular components for the foundation css framework. I am working on the tabs component, and want to be able to pass some HTML to the
You should be using this way instead,
Age
{{item.age}} `
Component typescript
@Component({
selector: 'tabs',
templateUrl: './tabs.component.html'
})
export class TabsComponent {
@Input() data:any;
item:any{};
}
In your content projection define a selector as
As your passing with bindings
Age
{{item.age}} `
DEMO