code: function isLongDef(node) {
      return node.callee &&
          node.callee.object && node.callee.object.name === "angular" &&
          node.callee.property && node.callee.property.name === "module";
  }
docs: Long form: angular.module(*).controller("MyCtrl", function($scope, $timeout) {});