Skip to content

Instantly share code, notes, and snippets.

@saposki saposki/filter.js
Last active Apr 29, 2016

Embed
What would you like to do?
//filter.js
var app = angular.module('saposkiFilter', []);
app.controller('MainCtrl', ['$scope', function($scope){
$scope.callSepia = function(){
console.log('Sepia filter applied');
}
$scope.callInvert = function(){
console.log('Invert filter applied');
}
$scope.callSaturate = function(){
console.log('Saturation filter applied');
}
}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.