Last active
April 29, 2016 23:18
-
-
Save saposki/ba73a83eacb7acb5e9a0c166b5fadd45 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
//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