Tagged: Ternary

0

AngularJS: How to use ternary operator in template

AngularJS now supports a ternary condition in its expressions. The basic syntax is as below.

Let’s see some examples.

Above expression will check if there is a value set in bioText...