Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Don't get carried away with such things. Calculate the href in the component ahead of time, put it in a property.
Not only is it not quite js in the template, it's all parsed by angular. It will be recalculated each time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question