Ideally, we shouldn't include any HTML formatting inside controllers/services. See if you can move this into the view.