If type=1, then I want the url to use the variable {{vm.firstPath}}.
For anything else it should use {{vm.secondPath}}.
Is this doable using a ternary?
When I tried doing this it is not recognised:
{{type==1? <a href="{{vm.firstPath}}">{{vm.name}}</a> : <a href="{{vm.secondPath}}">{{vm.name}}</a>}}