Created
August 11, 2018 19:05
-
-
Save niniyzni/00ed267c0cd3b97e78fd90791e54ec51 to your computer and use it in GitHub Desktop.
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> | |
<h1> | |
{{ title }} | |
</h1> | |
<button (click)="myFunc()">Get All State Information</button> | |
</div> | |
<br> | |
<div> | |
<h2 >States:</h2> | |
<div *ngFor="let r of result"> | |
<p>{{r.id}}</p> | |
</div> | |
<ul> | |
<li *ngFor="let r of result"> | |
<input type="text" name="food-name" [(ngModel)]="r.id"> | |
</li> | |
</ul> | |
<!-- <app-nav-item-comp *ngFor="let item of navItems" [item]="item"></app-nav-item-comp> --> | |
<ul> | |
<li> | |
StateName1 | |
<ul> | |
<li>Largest City:[ToDo]</li> | |
<li>Capital City:[ToDo]</li> | |
<li>Area:[ToDo]</li> | |
</ul> | |
</li> | |
<li> | |
StateName2 | |
<ul> | |
<li>Largest City:[ToDo]</li> | |
<li>Capital City:[ToDo]</li> | |
<li>Area:[ToDo]</li> | |
</ul> | |
</li> | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment