docs($compile): add missing header

Without this header, it looked like this example is part of the section about the attributes object.