diff --git a/README.md b/README.md index 63a5917..477dd53 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,9 @@ bower install angular-contenteditable ```javascript angular.module('myapp', ['contenteditable']) - .controller('Ctrl', function($scope){ - $scope.model="interesting stuff" }) + .controller('Ctrl', ['$scope', function($scope) { + $scope.model="interesting stuff" + }]) ``` ```html @@ -25,7 +26,9 @@ angular.module('myapp', ['contenteditable']) + select-non-editable="true"> + + ``` ## Notice