Skip to content

Instantly share code, notes, and snippets.

@IEvangelist
Created January 12, 2016 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IEvangelist/e4b79567577c824282ba to your computer and use it in GitHub Desktop.
Save IEvangelist/e4b79567577c824282ba to your computer and use it in GitHub Desktop.
@{
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