What is difference between $cookies and $cookieStore service?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of arrow function in angular 2?

480


What is @input and @output in angular?

503


How is AngularJS Compilation Different From Other JavaScript Frameworks?

520


What is the use of ng dblclick?

436


Define angularjs?

523






What is elementref in angular 4?

543


Explain directive in AngularJS?

534


Why is angular called angular?

437


Explain currency filter in angularjs. How can we use it?

516


Explain formgroup and formcontrol in angular?

502


What is ng bind in angular?

490


What is factory in angularjs?

473


What is emit in angular?

515


What is ngzone run outside angular 2?

494


What is json web token in angularjs?

496