diff options
Diffstat (limited to 'docs/content/guide/compiler.ngdoc')
| -rw-r--r-- | docs/content/guide/compiler.ngdoc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/compiler.ngdoc b/docs/content/guide/compiler.ngdoc index 9915107b..d315df45 100644 --- a/docs/content/guide/compiler.ngdoc +++ b/docs/content/guide/compiler.ngdoc @@ -70,8 +70,8 @@ Here is a directive which makes any element draggable. Notice the `draggable` at    <file name="script.js">      angular.module('drag', []).        directive('draggable', function($document) { -        var startX=0, startY=0, x = 0, y = 0;          return function(scope, element, attr) { +          var startX = 0, startY = 0, x = 0, y = 0;            element.css({             position: 'relative',             border: '1px solid red',  | 
