This chapter continues a series of exhortations to Christians that began in chapter 12. These commands are not always connected to each other, so the translator should not feel obliged to make smooth transitions between subjects.
The exact meaning of this phrase is unknown. It is possibly a reference to Abraham entertaining angels (Genesis 18). The Greek word for "angels" can also be translated as "messengers." This would give the phrase the meaning that any stranger may be a messenger or servant of God, so hospitality should be shown to them.