fix angular js path bug