SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

docs(guide/directive): remove confusing best practice

Prior to this point, the docs do not mention returning a postLink function, and all the examples use
the definition object form. So, this message is confusing to new readers who may misinterpret
"returning a function" as returning the factory function mentioned in the previous section.

Since this page is only a "gentle introduction" to directives, and using the definition object is a
best practice, it is best to just remove the message altogether.

Closes #14871
J
Jack committed
c4da2f0193e767276fa0e4b20ddf6c2ea27d4c8d
Parent: b928043
Committed by Georgios Kalpakas <kalpakas.g@gmail.com> on 7/6/2016, 9:06:36 AM