diff options
| author | Peter Bacon Darwin | 2014-02-13 23:22:02 +0000 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:43 +0000 | 
| commit | 457cf0a702d0af897e80c7bc6c196431c73fad8a (patch) | |
| tree | d6cd25608adaced93e935f901de7ecd811b5346f /src/ng | |
| parent | 8c121b94e7cfe9fd3e0f0acfb238a23156ea4093 (diff) | |
| download | angular.js-457cf0a702d0af897e80c7bc6c196431c73fad8a.tar.bz2 | |
docs(examples): fix example dependencies
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/directive/ngClass.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngIf.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngInclude.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngRepeat.js | 2 | ||||
| -rw-r--r-- | src/ng/directive/ngShowHide.js | 4 | ||||
| -rw-r--r-- | src/ng/directive/ngSwitch.js | 2 | 
6 files changed, 7 insertions, 7 deletions
| diff --git a/src/ng/directive/ngClass.js b/src/ng/directive/ngClass.js index fa6d81b2..595b4419 100644 --- a/src/ng/directive/ngClass.js +++ b/src/ng/directive/ngClass.js @@ -150,7 +150,7 @@ function classDirective(name, selector) {     The example below demonstrates how to perform animations using ngClass. -   <example animations="true"> +   <example module="ngAnimate" deps="angular-animate.js" animations="true">       <file name="index.html">        <input id="setbtn" type="button" value="set" ng-click="myVar='my-class'">        <input id="clearbtn" type="button" value="clear" ng-click="myVar=''"> diff --git a/src/ng/directive/ngIf.js b/src/ng/directive/ngIf.js index 2aaaf2dd..000fba82 100644 --- a/src/ng/directive/ngIf.js +++ b/src/ng/directive/ngIf.js @@ -44,7 +44,7 @@   *     element is added to the DOM tree.   *   * @example -  <example animations="true"> +  <example module="ngAnimate" deps="angular-animate.js" animations="true">      <file name="index.html">        Click me: <input type="checkbox" ng-model="checked" ng-init="checked=true" /><br/>        Show when checked: diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index 1d3c7246..09f03895 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -43,7 +43,7 @@   *                  - Otherwise enable scrolling only if the expression evaluates to truthy value.   *   * @example -  <example animations="true"> +  <example module="ngAnimate" deps="angular-animate.js" animations="true">      <file name="index.html">       <div ng-controller="Ctrl">         <select ng-model="template" ng-options="t.name for t in templates"> diff --git a/src/ng/directive/ngRepeat.js b/src/ng/directive/ngRepeat.js index d2c2027b..c6a9bda3 100644 --- a/src/ng/directive/ngRepeat.js +++ b/src/ng/directive/ngRepeat.js @@ -113,7 +113,7 @@   * @example   * This example initializes the scope to a list of names and   * then uses `ngRepeat` to display every person: -  <example animations="true"> +  <example module="ngAnimate" deps="angular-animate.js" animations="true">      <file name="index.html">        <div ng-init="friends = [          {name:'John', age:25, gender:'boy'}, diff --git a/src/ng/directive/ngShowHide.js b/src/ng/directive/ngShowHide.js index c22708c5..303db9c4 100644 --- a/src/ng/directive/ngShowHide.js +++ b/src/ng/directive/ngShowHide.js @@ -88,7 +88,7 @@   *     then the element is shown or hidden respectively.   *   * @example -  <example animations="true"> +  <example module="ngAnimate" deps="angular-animate.js" animations="true">      <file name="index.html">        Click me: <input type="checkbox" ng-model="checked"><br/>        <div> @@ -245,7 +245,7 @@ var ngShowDirective = ['$animate', function($animate) {   *     the element is shown or hidden respectively.   *   * @example -  <example animations="true"> +  <example module="ngAnimate" deps="angular-animate.js" animations="true">      <file name="index.html">        Click me: <input type="checkbox" ng-model="checked"><br/>        <div> diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 59cef79b..92594978 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -53,7 +53,7 @@   *   *   * @example -  <example animations="true"> +  <example module="ngAnimate" deps="angular-animate.js" animations="true">      <file name="index.html">        <div ng-controller="Ctrl">          <select ng-model="selection" ng-options="item for item in items"> | 
