Skip to content

Instantly share code, notes, and snippets.

@saposki
Last active April 30, 2016 00:51
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 saposki/b5d3f0b74720d186937e35a114813649 to your computer and use it in GitHub Desktop.
Save saposki/b5d3f0b74720d186937e35a114813649 to your computer and use it in GitHub Desktop.
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<title>Filter Test</title>
<script type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script>
<script src="filter.js"></script>
</head>
<body ng-app='saposkiFilter'ng-controller='MainCtrl'>
<div>
<h2>Image Filter Test</h2>
<img height="200" src="JRV7IaoQOWoIdNIIpBgE_02.jpg" />
</div>
<div class="button-bar">
<button ng-click="callSepia()">sepia</button>
<button ng-click="callInvert()">invert</button>
<button ng-click="callSaturate()">saturate</button>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment