fix(closure): Allow passing objects to $q.all in externs
fix(closure): Update directive definition to accept pre/post for link