In this article, we are going to learn the use of interpolation. Generally, we display the static component from the inline HTML or from templateUrl. What if we want some of the things to change dynamically. Let us suppose we need to show the current username, type of user etc kind of information then we will have to use interpolation. These dynamic values will come from any source through API or services.
source https://www.c-sharpcorner.com/article/overview-of-interpolation-in-angular/
No comments:
Post a Comment