I have a question what is the equivalent for directive: compile (pre/post)?
Example in javascript:
angular.module('app').directive('checkBox', function () {
return {
//... my directive options
compile: function () {
return function () {
pre: function (scope) {}
post: function (scope) {}
}
}
}
});
What is TypeScript equivalent for this?