diff --git a/CHANGELOG.md b/CHANGELOG.md index 19cbc00c..c6f92c31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -136,8 +136,8 @@ Example: angular.module("switchChangeWorkaround", []). directive("onSwitchChanged", function() { return { - linke: function($scope, $attrs) { - $scope.$parent.$eval($attrs.change); + link: function($scope, $element, $attrs) { + $scope.$parent.$eval($attrs.onSwitchChanged); } }; });