As I was building a component encapsulating a button combined with ngf, I came across a problem of an id passed as an expression. The result of the id on the newly create input would be id="ngf-" or id="ngf-label-".
So I added the $interpolate fn to handle this behaviour correctly.
Regular strings will be returned as they were passed in.
As I was building a component encapsulating a button combined with ngf, I came across a problem of an id passed as an expression. The result of the id on the newly create input would be id="ngf-" or id="ngf-label-".
So I added the $interpolate fn to handle this behaviour correctly. Regular strings will be returned as they were passed in.