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
06fb391687fbf74f00b45835523af676b17ad836
Parent: 203dd4d
Committed by Georgios Kalpakas <kalpakas.g@gmail.com> on 7/6/2016, 9:07:15 AM