Created
August 23, 2014 03:47
-
-
Save mager/c4d03b7a62d00ae19b6e to your computer and use it in GitHub Desktop.
instaspot-02-index.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
<!doctype html> | |
<html ng-app="instaspot"> | |
<head> | |
<title>instaspot</title> | |
</head> | |
<body> | |
<header> | |
<h1>instaspot<span> Find the most popular photos and videos on <a href="http://www.instagram.com">Instagram</a> (refresh for more)</span></h1> | |
</header> | |
<section ng-controller="ShowImages as images"> | |
<div class="spot" ng-repeat="p in pics"> | |
<p><a href="http://instagram.com/{{p.user.username}}" target="_blank">{{p.user.username}}</a></p> | |
<a href="{{p.link}}" target="_blank"><img ng-src="{{p.images.thumbnail.url}}" /></a> | |
</div> | |
</section> | |
<script src="bower_components/angular/angular.js"></script> | |
<script src="js/application.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment