AngularFundamentalsFiles
AngularFundamentalsFiles copied to clipboard
$cookieStore is deprecated in Angular 1.5.7
Hi,
I saw the note in the README indicating that this course is out of date (pending update to Angular 1.5). I don't know if this is redundant, but I thought it may still be worth mentioning.
In the module on Angular Fundamentals
, the video Using Angular's $cookieStore Service
uses $cookieStore
. The (currently latest) 1.5.7 docs mention:
Note: The $cookieStore service is deprecated. Please use the $cookies service instead.
This may be worth mentioning in the video. $cookies
also provides a way to set an expiry (the video mentioned that it's probably worthwhile to wrap an existing third-party library if you want to control cookie expiration).