doc(application factory): fix the doc

fixes #1586