function AngularLinkFunction(
    scope: mixed,
    element: JqliteElement,
    attrs: mixed,
    controller: mixed
  ): void;

  declare type AngularCompileLink = {
    post?: AngularLinkFunction,
    pre?: AngularLinkFunction
  }
Credit to @faceleg for some of the typedefs seen here:
https://github.com/solnet-aquarium/flow-interfaces-angular/blob/master/interfaces/angular.js