Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template context #306

Open
Abenezer opened this issue Apr 14, 2018 · 1 comment
Open

Template context #306

Abenezer opened this issue Apr 14, 2018 · 1 comment

Comments

@Abenezer
Copy link

how are we suppose to pass context to template.

<ng-template #example let-name>
Hello {{name}}

The notification service accept temlate refrence, if it could accept embeded viewreference we could do it like this.notificationService.success (this.example.createEmbededView ({name: 'joe'}))
with out context the template view is almost useless cos it only displays same content for every notification

@Abenezer
Copy link
Author

Abenezer commented Apr 14, 2018

My bad.... there is a better pull request #274 just for that! when is it going to be merged? since the PR is 9 commits behind am using my own fork just for this. please merge it soon,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant