Skip to content

Template context #306

Open
Open
@Abenezer

Description

@Abenezer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions