I'm with @caitp here. All the arguments of the linking function are covered in http://docs.angularjs.org/api/ng/service/$compile and the guide is structured in the way that it covers certain categories of directives and the corresponding settings.