operador ternario angular click code example Example: operador ternario angular click <a (click)="page > 1 ? setPage(page - 1) : null">Previous</a></li>