Common angularjs helper service - WIP