Widget Link Function

Link Function in the Widget Editor is an advanced method of widget configuration.

Widgets are basically augmented Angular directives, so the link function is used almost exactly the same the way link functions on directives are used in Angular.

For the most part, you will rarely ever need to use the Link Function. Occasionally, it might make sense to do direct DOM manipulation in the link function instead of the controller.

Only users (developers, really) with an advanced knowledge of AngularJS should use the link function to make widget changes.