diff options
| author | Michal Bendowski | 2013-11-04 14:24:18 +0000 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-11-05 13:38:09 +0000 |
| commit | e196413df67dd56f05090fd853c1b00fd6002ef1 (patch) | |
| tree | 3cc37b68b802758d052aa8d0a19792a319ff5e33 /docs/src | |
| parent | 727b232fb2e2440b762c9ed1b9b8ae32e7a54f7d (diff) | |
| download | angular.js-e196413df67dd56f05090fd853c1b00fd6002ef1.tar.bz2 | |
docs(guide/directive): fix transclusion example
The example about transclusion and scopes worked only because the order of `scope` and `element`
arguments is wrong, which means that the `name' property of the scope is not really being updated.
To really work, the directive has to define its own scope, either a new child scope or, as is more
common with transclusion, an isolated scope.
Closes #4774
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions
