Skip to content

Commit 5fffc53

Browse files
author
Mark Lagendijk
committed
Updated README
1 parent 5e8bc06 commit 5fffc53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# angular-recursion-helper
1+
# angular-recursion
22

33
A service which makes it easy possible to have recursive Angular directives.
44

55
## Why
66
When an Angular directive calls itself, Angular gets into an endless loop. This service provides the logic needed to work around this.
77

88
## Usage
9-
The service is used by injecting it into your directive and using it in the directives' compile function. The following example shows this. See [this fiddle](http://jsfiddle.net/xUsCc/34/) to see this example running.
9+
The service is used by injecting it into your directive and using it in the directives' compile function. The following example shows this. See [this Plunker](http://plnkr.co/edit/JAIyolmqPqO9KsynSiZp?p=preview) to see this example running.
1010

1111
``` javascript
12-
module.directive("tree", function(RecursionHelper) {
12+
angular.module('myModule', ['RecursionHelper']).directive("tree", function(RecursionHelper) {
1313
return {
1414
restrict: "E",
1515
scope: {family: '='},

0 commit comments

Comments
 (0)