What is difference between $cookies and $cookieStore service?



What is difference between $cookies and $cookieStore service?..

Answer / sagar chokatkar

$cookiestore and $cookies are doing same think, but the only difference is

$cookiestore- can objects put or retrieved from this storage are automatically serialized or deserialized by angular's toJson/fromJson .but $cookies- can't do this.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are the features of angular 7?

0 Answers  


What are the Pipes?

0 Answers  


What is an oauth token?

0 Answers  


What is a singleton pattern?

0 Answers  


How would you select all the child components’ elements?

0 Answers  






How to use filter in angular js?

0 Answers  


What is a router in angular?

0 Answers  


What is digest cycle?

0 Answers  


What is the use of interceptors in angular?

0 Answers  


How to write all the console.log statements to a file in server?

0 Answers  


What directives are used to show and hide HTML elements in AngularJS?

1 Answers  


What is react vs angular?

0 Answers  


Categories