Just to clarify, I am new to working with Angular.
I've been struggling for the past few hours to toggle authentication in my service by clicking a button that should display user information or a sign-in image based on whether the authentication is true. The page loads the correct information initially but fails to update the view when I click the button. As an experiment, I included an input field bound to the username of the user information to test the binding. Surprisingly, I can update the username in real-time as expected, but there's a strange issue. Toggling the authentication button doesn't reflect any changes, yet updating the username through the input box triggers the view update. It seems like the change is being applied to authentication but not being reflected for some reason.
Any assistance on this matter would be highly appreciated.