Switch to a angular resource model and implement new profile service.