Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
elpddev authored Oct 29, 2020
1 parent 13c4b67 commit 47c3bbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ const myAppModule = angular.module('myApp', [crTranscludeModule.name]);
In the transcluded content, there is access to the grandparent scope and the properties given to the context bindings.

```js
<div>\{\{ $ctrl.listName \}\}</div>
<div>{{ $ctrl.listName }}</div>

<my-list items="$ctrl.movies">
<div>From context: \{\{ name \}\}</div>
<div>From grandparent: \{\{ $ctrl.listName \}\}</div>
<div>From context: {{ name }}</div>
<div>From grandparent: {{ $ctrl.listName }}</div>
</my-list>
```

Expand Down

0 comments on commit 47c3bbe

Please sign in to comment.