Created
January 11, 2018 04:56
-
-
Save rahulsahay19/f3833fe4eddcb5386c3e94f2a459a617 to your computer and use it in GitHub Desktop.
app.component.html
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 class="container"> | |
<h2>Pipes Example</h2> | |
<hr> | |
<h3>Feed Status: {{feedStatus}}</h3> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-10 col-md-8 col-sm-offset-1 col-md-offset-2"> | |
<ol class="list-group"> | |
<li class="alert" | |
*ngFor="let empl of Employees" | |
[ngClass]="getEmployees(empl)"> | |
<span class="badge"> | |
{{ empl.name | shortName:true }} | |
</span> | |
<strong>{{ empl.desig | uppercase }}</strong> | {{ empl.location }} | {{ empl.joined | date:'fullDate' | uppercase }} | |
</li> | |
</ol> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment