I'm looking for the smoothest way to do something like this:
<span x-ng-show="stuff && stuff.id in [1,2,5]">{{stuff.name}}</span>
<span x-ng-show="stuff && stuff.id in [3,4,6]">{{stuff.fullName}}</span>
I know this is not working in AngularJS, but I hope you understand what I'm trying to do. What is the best readable solution for this?
Unfortunately, I needed a solution that also works in IE11