Update index HTML of backbone and angular apps