Annotate $app type in front controller