Created
May 15, 2015 16:44
-
-
Save jeffbcross/95535632441e29aba8aa to your computer and use it in GitHub Desktop.
async pipe woes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<button (click)="login()" *ng-if="!auth | async">Login</button> | |
<span *ng-if="auth | async"> | |
Welcome, {{auth | async.github.displayName}}! | |
</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment