Skip to content

Instantly share code, notes, and snippets.

@ragowthaman
Last active October 16, 2017 10:34
Show Gist options
  • Save ragowthaman/fa9abce44781d3633788bdef38a1598a to your computer and use it in GitHub Desktop.
Save ragowthaman/fa9abce44781d3633788bdef38a1598a to your computer and use it in GitHub Desktop.
Passing data to incoming component via ng-content
<app-incoming-component>hello: {{total}}</app-incoming-component>
<ng-content></ng-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment