add eachModule helper to viewmigration