Skip to content

Instantly share code, notes, and snippets.

@sayinserdar
Last active February 22, 2021 13:38
Show Gist options
  • Save sayinserdar/6606a8fe76faa2c8ea1aaab9066c0e4d to your computer and use it in GitHub Desktop.
Save sayinserdar/6606a8fe76faa2c8ea1aaab9066c0e4d to your computer and use it in GitHub Desktop.
Template Conditions in Angular
public user = await asyncUserFunction();
public cat = await asyncCatFunction();
public isCatVisible = user.cat.id === cat.id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment