Wrox Programmer Forums
|
BOOK: Professional AngularJS
This is the forum to discuss the Wrox book Professional AngularJS by Valeri Karpov, Diego Netto; ISBN: 978-1-118-83207-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional AngularJS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 22nd, 2015, 11:08 AM
Registered User
 
Join Date: Aug 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Omissions

Pretty sure that I've read through thoroughly now. There are a couple of items that I'm still confused about:
  1. Page 41, the Directive "require" property
  2. 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?









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.