Last active
August 29, 2015 14:05
-
-
Save leonardosantos/f30d5ecebb8577252df2 to your computer and use it in GitHub Desktop.
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
<html ng-app="doge"> | |
<head> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular.min.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
angular | |
.module("doge", []) | |
.controller("Ctrl", function($scope){ | |
$scope.url = "http://dogr.io/veryrestazero"+(location.pathname || "/")+".png" | |
}); | |
</script> | |
</head> | |
<body ng-controller="Ctrl"> | |
<img src="{{url}}" title="such RESTful" alt="doge"/> | |
<div> | |
<small>Powered by <a href="http://dogr.io">dogr.io</a></small> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment