In:
module.directive 'name', ->
(scope, element, attr) ->
# Whatever implemenation
Do the scope
, element
and attrs
parameters of the link function rely on name-inferred Dependency-Injection? If yes, how can I make them minification proof ?
Or do they rely on good old arguments order for what's passed into them ?
No, the link function has a predefined set of parameters.
function link($scope, $element, attrs, ctrl) {
//Your method
}
They are
required