fix for resources after updating angular