How to use Ternary Operator in AngularJS Expressions?

How to use Ternary Operator in AngularJS Expressions?

AshishhAshishh Posts: 6Questions: 4Answers: 0

Hi everyone, i have been working on javascript language and want to know your views on Ternary Operation in AngularJS one of the great feature which provide an alternative to conditions such as if, else and end if.

Answers

  • allanallan Posts: 62,327Questions: 1Answers: 10,227 Site admin

    I'm not entirely sure why you've posted an Angular question in the DataTables forums? You'd be better asking on StackOverflow or an Angular specific board.

    Personally I like ternary operators, as long as they aren't abused.

    Allan

This discussion has been closed.