From 14b0659205657410f0b82bd904fb40857ae9acab Mon Sep 17 00:00:00 2001 From: Dmitri Akatov Date: Sat, 2 Nov 2013 23:54:28 +0000 Subject: [PATCH] better code formatting in the README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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