unused
migrate angular service to factory
update references