Moving table row formatting to its own service accessed by the view