user1624400 user1624400 - 2 years ago 57
Javascript Question

What are the various injectables in the link, controller and compile functions?

What objects can be passed as arguments to the link, controller and compile functions in AngularJS?

Answer Source

All the information your looking for is available on AngularJS documentation website.

function compile(tElement, tAttrs, transclude) { ... }

function link(scope, iElement, iAttrs, controller) { ... }

function controller(scope, element, attribute, transcludeFn)

Look under Writing Directive Long Versions

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download