I’ve worked on this problem for a while - and finally just decided to move on - but I thought perhaps if I posted the problem, someone would provide some insight.
I’ve found that I need to trust that angular will update the page when I change underlying data - but so far I’ve not figured out how to make this particular problem work.
I have a profile page where a user can change his profile picture. The html to display the image is this:
<img [src]=“userProfileURL” class=“avatar”>
In the TS file, after the user changes the picture - I go to a lot of work to change the path (userProfileURL) several times - but once it’s set to the new URL - the page does not refresh, and the old picture remains in view
This is not acceptable, but I’m not sure how to make this work.
Any ideas? Thanks very much in advance!