Pretty sure that I've read through thoroughly now. There are a couple of items that I'm still confused about
:
- Page 41, the Directive "require" property
- Page 183, the Directive "compile" property
"require" is missing from the book index. There is another reference on page 108, with a short explanation. But that explanation doesn't help illuminate the example usage on page 41.
On page 183, the section
The compile Setting, or compile Versus link seems so heavily editted, it may as well have been omitted.
- The first paragraph on page 183 never explains how the "compile" property function can be used to manipulate the template DOM.
- The example shows how to use a "compile" function instead of the "link" function, but never explains why.
- The compile function parameters are never described.
- The final parameter "transcludeFn" seems to be the point of the example. What does it do and when is it called?
Can someone please supply a
further reading link?