A more customizable angular cookie wrapper