reorder angular/jquery to fix caching issue