angular-cookie icon indicating copy to clipboard operation
angular-cookie copied to clipboard

Provider version

Open JuanHB opened this issue 11 years ago • 4 comments

There is a provider version for this module? I need to check the existence of a cookie inside the .config() in my application.

JuanHB avatar Dec 03 '14 12:12 JuanHB

Is there already any standard for that?

marcin-wosinek avatar Jan 26 '15 17:01 marcin-wosinek

No that I know, but I've "solved" the problem by changing the cookie check step to inside the .run() block in my app, in this step you can access any service that you may need, like the cookies service created by this module.

JuanHB avatar Jan 26 '15 18:01 JuanHB

Closed by accident, sorry.

JuanHB avatar Jan 26 '15 18:01 JuanHB

+1 for provider version.

airatdev avatar Jul 01 '15 14:07 airatdev