From 073e76f8353ca3f743ea61ff21f7de7b1e5a7701 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 24 May 2012 15:29:51 -0700 Subject: doc(guide): corrected examples --- docs/content/guide/compiler.ngdoc | 70 +++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'docs/content/guide/compiler.ngdoc') diff --git a/docs/content/guide/compiler.ngdoc b/docs/content/guide/compiler.ngdoc index d854ea37..493b611f 100644 --- a/docs/content/guide/compiler.ngdoc +++ b/docs/content/guide/compiler.ngdoc @@ -66,45 +66,45 @@ to write directives. Here is a directive which makes any element draggable. Notice the `draggable` attribute on the `` element. - - - + + function mouseup() { + $document.unbind('mousemove', mousemove); + $document.unbind('mouseup', mouseup); + } + } + }); + + Drag ME - - + + The presence of `draggable` attribute an any element gives the element new behavior. The beauty of -- cgit v1.2.3