set variable inside div angular code example
Example: set variable inside div angular
// Synchronous:
myVar = { hello: '' };
{{var.hello}}
// Using async pipe:
myVar$ = of({ hello: '' });
{{var.hello}}
// Synchronous:
myVar = { hello: '' };
{{var.hello}}
// Using async pipe:
myVar$ = of({ hello: '' });
{{var.hello}}