Skip to content

Instantly share code, notes, and snippets.

@mager
Created August 23, 2014 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mager/c4d03b7a62d00ae19b6e to your computer and use it in GitHub Desktop.
Save mager/c4d03b7a62d00ae19b6e to your computer and use it in GitHub Desktop.
instaspot-02-index.html
<!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