docs(template-syntax): rename elvis operator

Closes #8196
This commit is contained in:
Foxandxss
2016-04-22 23:01:26 +02:00
committed by Jesús Rodríguez
parent 676ddfa065
commit b48d907697

View File

@ -77,4 +77,4 @@ Transforms the current value of expression `cardNumber` via the pipe called `myC
syntax: syntax:
`<p>Employer: {{employer?.companyName}}</p>`|`{{employer?.companyName}}` `<p>Employer: {{employer?.companyName}}</p>`|`{{employer?.companyName}}`
description: description:
The Elvis operator (`?`) means that the `employer` field is optional and if `undefined`, the rest of the expression should be ignored. The safe navigation operator (`?`) means that the `employer` field is optional and if `undefined`, the rest of the expression should be ignored.