Created
January 12, 2016 19:17
-
-
Save IEvangelist/e4b79567577c824282ba to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@{ | |
ViewBag.Title = "API"; | |
} | |
<numbers> | |
<style> | |
.grey-border { | |
margin-top: 20px; | |
padding: 10px; | |
-webkit-box-shadow: 0 0 15px #999; | |
box-shadow: 0 0 15px #999; | |
border-radius: 5px; | |
} | |
button { | |
padding: 10px; | |
margin-bottom: 10px; | |
} | |
</style> | |
<div class="grey-border"> | |
<button type="button" (click)="get()" class="btn btn-primary"> | |
Perform Web API 2, Http-GET <span class="badge">{{apiOccurances}}</span> | |
</button> | |
<span *ngIf="isLoading">Loading...</span> | |
<div class="list-group" *ngIf="data != null"> | |
<li class="list-group-item" *ngFor="#num of data">{{ num | number:'2.3-5' }}</li> | |
</div> | |
</div> | |
</numbers> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment