I want get cookie value and set to a provider. This post https://stackoverflow.com/a/20415679/772481 mentioned $cookiesProvider. But how do I use it?
mod.con
Also you can write something like this:
$cookiesProvider.$get()["XSRF-TOKEN"]