Skip to content

How to use data option in dialogs #782

Answered by waterplea
loxy asked this question in Q&A
Discussion options

You must be logged in to vote

Template context in Angular works like this

  1. You can access $implicit key by just writing let-whatever
  2. You can access all other keys by explicitly naming them:
<ng-template #template let-nameToUse="data">
  {{nameToUse}}
</ng-template>

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@loxy
Comment options

Answer selected by loxy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants