Removes component factory's dependency on jquery
Use $.get instead of $.ajax in the location service