angularangular6angular-cookies

What is the equivalent to AngularJS's ngcookie in Angular 6?


How can you create cookies in Angular 6? For AngularJS there was ngcookie. What is the equivalent way to create cookies in Angular 6?


Solution

  • You can use this node package for it

    ngx-cookie-service