Last active
August 29, 2015 14:27
-
-
Save ecmelkytz/97aeebbad8dbd67edc7c 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 class="row" ng-controller="ExpoCtrl"> | |
<div class="col-md-6 col-md-offset-3"> | |
<center><h1>Books</h1></center> | |
<form class="form-horizontal" ng-submit="addBook()"> | |
<div class="input-group"> | |
<input type="text" class="form-control" ng-model="book_title"> | |
<span class="input-group-btn"> | |
<input type="submit" class="btn btn-default" value="Ekle"> | |
</span> | |
</div> | |
</form> | |
<table class="table table-striped table-condensed"> | |
<thead> | |
<tr> | |
<th>Başlık</th> | |
<th>Like</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr ng-repeat="book in books"> | |
<td>{{book.title}}</td> | |
<td>{{book.like}}</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment