AngularJS provides ngCookies module for reading and writing browser cookies. To use it include the
angular-cookies.js file and set ngCookies as a dependency in your angular app. This module provides two services
for cookie management: $cookies and $cookieStore.