A currency pipe and what I suggested are still quite different fix, some people might come here and have no idea how pipes work in the slightest. It wasn’t directed at you, but anyone who will stumble upon this thread.
No worries but my point is that this thread is not intended to find a Fix but to determine if the problem is a problem at all or just part of the evolution of Angular.
Not much chance of that now. Not a biggie though.
Same issue here. I have a feeling it’s related to interpolation in typescript, and the order of operations got messed up somewhere. Not sure where the root of the issue is; ionic, angular, webpack …
Adding const somevar = "test"; outside the class in the respective .ts file (or probably any .ts file) gets rid of the error, but shows [object Object]
Changing ${{somevar}} to ${somevar} then prints the constant properly
Haven’t been able to find anyone else mentioning it. Also, I found out you can just escape the $ and it works too: \${{somevar}}.
It works perfectly fine in a pure Angular 5 project, which leads me to believe it is Ionic related, but does seem a bit odd if that’s the case. Would you be able to create an issue on https://github.com/ionic-team/ionic/issues and link this post and the issue back in here? I can’t from my current machine, will do later if no one else has by then