{{var.a != "N/A" ? "<a ng-href='myapp://find?name="+var.a+"'>"+'var.a'+"</a>" :var.a}}
My ternary operator in this format for angularjs seems not working (in the view, ternary result is not showing but the exact written code above show in the view). I wonder where is the mistake as no error is returned on anywhere in chrome inspector.
I use Angularjs 1.2.2
Even way to troubleshoot it will really help.
Thank you
.doing? Are you trying to concatenate those strings and variables (like in PHP)? If so, use+in JavaScript