This document summarizes the process of compiling directives in AngularJS. It begins by describing how directives are defined with directive definition objects (DDOs). It then outlines the compilation process, which involves collecting all the directives on a node, executing their templates and compile functions, linking controllers and linking pre and post functions. The compilation process recurses through child nodes. Finally, it shows how $compile is used to bootstrap Angular on a page and kick off the compilation.