jeudi 26 mars 2015

$cookies service equivalent to chrome.cookies?


I'm new to angular and am working on trying to rebuild a chrome extension into a generic webapp using angular just to learn it.


One of the very first things the extension does is grab a specific cookie (created by logging into a website in a browser tab) using the command chrome.cookies.getAll(). Is the angular equivalent to this just using the $cookies service with $cookies.getAll()? It doesn't seem to be having the same effect when I test it, which is why I ask, so I apologize if this is a stupid question. Anyway, any guidance is appreciated!





Aucun commentaire:

Enregistrer un commentaire