diff --git a/src/ngTouch/directive/ngClick.js b/src/ngTouch/directive/ngClick.js index 777bd997354b..3ac1e3f24a10 100644 --- a/src/ngTouch/directive/ngClick.js +++ b/src/ngTouch/directive/ngClick.js @@ -25,13 +25,16 @@ * upon tap. (Event object is available as `$event`) * * @example - + count: {{ count }} + + angular.module('ngClickExample', ['ngTouch']); + */ diff --git a/src/ngTouch/directive/ngSwipe.js b/src/ngTouch/directive/ngSwipe.js index 091aba8e1a7b..d3259426a2f3 100644 --- a/src/ngTouch/directive/ngSwipe.js +++ b/src/ngTouch/directive/ngSwipe.js @@ -19,7 +19,7 @@ * upon left swipe. (Event object is available as `$event`) * * @example - +
Some list content, like an email in the inbox @@ -29,6 +29,9 @@
+ + angular.module('ngSwipeLeftExample', ['ngTouch']); +
*/ @@ -49,7 +52,7 @@ * upon right swipe. (Event object is available as `$event`) * * @example - +
Some list content, like an email in the inbox @@ -59,6 +62,9 @@
+ + angular.module('ngSwipeRightExample', ['ngTouch']); +
*/