I'm not sure, I can't really tell what's the source of this custom, but I don't think it's praying the Angelus. As far as I know this was done as a local custom, disconnected from any particular or widespread traditional Christian custom.