-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (32 loc) · 1.2 KB
/
Copy pathindex.html
File metadata and controls
32 lines (32 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html ng-app="angular-twitter">
<head>
<title>Twitter Api with Angular</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js"></script>
<script src="app.js"></script>
</head>
<body>
<div ng-controller="AngularTwitterController">
<div class="panel panel-default">
<div class="panel-heading">Trending Topic Hashtag</div>
<div class="panel-body">
<p>Agregar Hashtag:</p>
<div class="form-inline">
<input class="form-control" type="text" ng-model="newHashTag" />
<button class="btn btn-default" ng-click="addHashTag(newHashTag)">Agregar</button>
</div>
</div>
<ul class="list-group">
<li class="list-group-item" ng-repeat="tweet in tweets">
<!-- We can now use player.likeScore instead of likeScore(player) -->
{{tweet}}
<a href="" ng-click="removeHashTag(hashTag)">
<i class="glyphicon glyphicon-remove pull-right"></i>
</a>
</li>
</ul>
</div>
</div>
</body>
</html>