Wrote custom cookie set get function to deal with PATH, angular-cookie does't support that functionality