|
<div class="container" ng-app="myApp" ng-controller="Example"> |
|
<div class="jumbotron"> |
|
<div class="container"> |
|
<h2>Instagram images using AngularJS</h2> |
|
<p>Need to fetch Instgram images for your <code>AngularJS</code> <code>Bootstrap</code> website? AngularJS makes easy to fetch the images, bootstrap makes et easy to layout - so here you go, a simple pen to use a <code>API</code> using your favourite building blocks. <em>- Code found using Google - borrowed from a <a href="http://jsfiddle.net/scyrizales/pC9dH/"><code>JSFIDDLE</code></a></em></p> |
|
<div class="col-md-12 tags"><strong>Tags:</strong> |
|
<span ng-repeat="tag in tags"> |
|
<a href="http://codepen.io/search?q={{tag}}&limit=all&depth=everything&show_forks=false"><code class="btn btn-primary btn-xs">{{tag}}</code></a></span> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="container"> |
|
<div class="row"> |
|
<div class="col-md-12"><h1>Showing popular Instagram pictures <button type="button" class="btn btn-success" ng-click="getMore()">You have {{pics.length}} pictures on page - Click to see more pictures?</button></h1></div> |
|
</div> |
|
<div class="row"> |
|
<div ng-repeat="p in pics | orderBy:orderBy" class="col-md-2"> |
|
<a href="{{p.link}}" target="_blank"><img ng-src="{{p.images.low_resolution.url}}" class="img-responsive thumbnail" title="{{p.caption.text}}"></a> |
|
<span class="glyphicon glyphicon-heart"> {{p.likes.count}}</span> |
|
</div> |
|
</div> |
|
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.min.js |
|
</div> |
|
|
|
<!-- UNDER CONSTRUNCTION START --> |
|
<div id="banner"><a href="http://codepen.io/netsi1964/full/upDno">View 3D version</a></div> |
|
<style type="text/css"> |
|
/* RELATED TO UNDER CONSTRUCTION ONLY */ |
|
#banner{ |
|
height: 199px; |
|
width: 199px; |
|
overflow:hidden; |
|
padding: 0; |
|
margin: 0; |
|
position: fixed; |
|
right: 0px; |
|
top: 0px; |
|
} |
|
#banner a{ |
|
|
|
display: block; |
|
width: 290px; |
|
font-size: 14px; |
|
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", |
|
"Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, |
|
Geneva, "Helvetica Neue", Helvetica, Arial, sans serif; |
|
background-color: #333; |
|
color: #FFF; |
|
word-spacing: 2px; |
|
text-decoration: none; |
|
padding: 5px 15px 5px 25px; |
|
|
|
position:relative; |
|
left: 20px; |
|
top: -37px; |
|
text-align: center; |
|
|
|
-moz-transform-origin: 0 0 ; |
|
-moz-transform:rotate(45deg); |
|
-moz-box-shadow: 1px 1px 5px 1px #666; |
|
|
|
-webkit-transform-origin: 0 0 ; |
|
-webkit-transform:rotate(45deg); |
|
-webkit-box-shadow: 1px 1px 5px 1px #666; |
|
|
|
-ms-transform-origin: 0 0 ; |
|
-ms-transform:rotate(45deg); |
|
-ms-box-shadow: 1px 1px 5px 1px #666; |
|
|
|
transform-origin: 0 0 ; |
|
transform:rotate(45deg); |
|
box-shadow: 1px 1px 5px 1px #666; |
|
|
|
background-image: linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%); |
|
background-image: -o-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%); |
|
background-image: -moz-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%); |
|
background-image: -webkit-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%); |
|
background-image: -ms-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%); |
|
|
|
background-image: -webkit-gradient( |
|
linear, |
|
left bottom, |
|
left top, |
|
color-stop(0.03, #000000), |
|
color-stop(0.05, #666666), |
|
color-stop(0.07, #000000), |
|
color-stop(0.93, #000000), |
|
color-stop(0.95, #666666), |
|
color-stop(0.97, #000000) |
|
); |
|
|
|
} |
|
</style> |
|
<!-- UNDER CONSTRUNCTION END --> |