fix angular won't load bug