Add middleware to read in all Angular templates.