Update to Angular 1.1.4

This commit is contained in:
Colin Frei 2013-04-07 11:37:21 +02:00
parent 72a485d6e8
commit f5fc1369ad
585 changed files with 48055 additions and 3041 deletions

28
lib/angular/docs/partials/api/angular.IModule.html Normal file → Executable file
View file

@ -2,10 +2,34 @@
<span class="hint">(Type in module <code ng:non-bindable="">ng</code>
)</span>
</h1>
<div><h2 id="Description">Description</h2>
<div><a href="http://github.com/angular/angular.js/edit/master/src/loader.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Interface for configuring angular <a href="api/angular.module"><code>modules</code></a>.</p></div>
<div class="member method"><h2 id="Methods">Methods</h2>
<ul class="methods"><li><h3 id="config">config(configFn)</h3>
<ul class="methods"><li><h3 id="animation">animation(name, animationFactory)</h3>
<div class="animation"><p>Defines an animation hook that can be later used with <a href="api/ng.directive:ngAnimate"><code>ngAnimate</code></a>
alongside <a href="api/ng.directive:ngAnimate#Description"><code>common ng directives</code></a> as well as custom directives.
<pre class="prettyprint linenums">
module.animation('animation-name', function($inject1, $inject2) {
return {
//this gets called in preparation to setup an animation
setup : function(element) { ... },
//this gets called once the animation is run
start : function(element, done, memo) { ... }
}
})
</pre>
<p>See <a href="api/ng.$animationProvider#register"><code>$animationProvider.register()</code></a> and
<a href="api/ng.directive:ngAnimate"><code>ngAnimate</code></a> for more information.</p><h4 id="Parameters">Parameters</h4>
<ul class="parameters"><li><code ng:non-bindable="">name {string} </code>
<p>animation name</p></li>
<li><code ng:non-bindable="">animationFactory {Function} </code>
<p>Factory function for creating new instance of an animation.</p></li>
</ul>
</div>
</li>
<li><h3 id="config">config(configFn)</h3>
<div class="config"><p>Use this method to register work which needs to be performed on module loading.</p><h4 id="Parameters">Parameters</h4>
<ul class="parameters"><li><code ng:non-bindable="">configFn {Function} </code>
<p>Execute this function on module load. Useful for service