docs(ngTouch): include angular-touch.js in example iframes

Mystical [deps="angular-touch.js"] is enough to get the correct file to be added to the <head> tag.

Closes #7058
Closes #7074
This commit is contained in:
Caitlin Potter
2014-04-10 14:23:44 -04:00
parent 61a8e198bd
commit 24a045c3b2
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
* upon tap. (Event object is available as `$event`)
*
* @example
<example>
<example deps="angular-touch.js">
<file name="index.html">
<button ng-click="count = count + 1" ng-init="count=0">
Increment

View File

@@ -19,7 +19,7 @@
* upon left swipe. (Event object is available as `$event`)
*
* @example
<example>
<example deps="angular-touch.js">
<file name="index.html">
<div ng-show="!showActions" ng-swipe-left="showActions = true">
Some list content, like an email in the inbox
@@ -49,7 +49,7 @@
* upon right swipe. (Event object is available as `$event`)
*
* @example
<example>
<example deps="angular-touch.js">
<file name="index.html">
<div ng-show="!showActions" ng-swipe-left="showActions = true">
Some list content, like an email in the inbox