File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 190
190
*
191
191
* <pre>
192
192
* //!annotate="YourApp" Your AngularJS Module|Replace this or ngModule with the module that you used to define your application.
193
- * var ngModule = angular.module('YourApp', []);
193
+ * var ngModule = angular.module('YourApp', ['ngAnimate' ]);
194
194
* ngModule.animation('.my-crazy-animation', function() {
195
195
* return {
196
196
* enter: function(element, done) {
199
199
* //this (optional) function will be called when the animation
200
200
* //completes or when the animation is cancelled (the cancelled
201
201
* //flag will be set to true if cancelled).
202
- * }
203
- * }
202
+ * };
203
+ * },
204
204
* leave: function(element, done) { },
205
205
* move: function(element, done) { },
206
206
*
215
215
*
216
216
* //animation that can be triggered after the class is removed
217
217
* removeClass: function(element, className, done) { }
218
- * }
218
+ * };
219
219
* });
220
220
* </pre>
221
221
*
You can’t perform that action at this time.
0 commit comments