Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AngularJS Tutorial Part 4 - Introducing Styling Using Bootstrap
- Loading branch information
1 parent
11d5ecf
commit 0c50a4c
Showing
2 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
<h1>{{ heading }}</h1> | ||
<p>{{ message }}</h1> | ||
|
||
<div> | ||
<div ng-repeat="person in data"> | ||
<p> | ||
<b>{{ person.name }}</b> - <span ng-repeat="film in person.films">{{films[film]}}</span> | ||
</p> | ||
<div class="col-md-10 col-md-offset-1"> | ||
|
||
<div class="page-header"> | ||
<h1>Star Wars</h1> | ||
</div> | ||
<hr> | ||
|
||
<div class="panel panel-default" ng-repeat="person in data"> | ||
<div class="panel-heading">{{ person.name }}</div> | ||
<div class="panel-body"> | ||
<ul class="btn-group" ng-repeat="film in person.films"> | ||
<button class="btn btn-primary"> | ||
{{ films[film] }} | ||
</button> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
</div> |