Tiny cookie helper for angular