More powerful $cookies service
I want to set a cookie on the root path / so it's available everywhere on the domain.
But the $cookies service only accepts name and value, and always sets the cookie path to the current page via self.baseHref().
Could the $cookies service be extended to provide access to additional cookie properties like path, expires, domain and secure?
I quite like the API of the jquery.cookie plugin: https://github.com/carhartl/jquery-cookie#usage. It keeps the common name=value use case simple and allows to set additional cookie properties via a third options object parameter.
I'm not very proficient in Javascript but I might try to implement something over the weekend.
:+1:
:+1:
I'm tired of waiting when it's merged created own module to deal with domain, path, etc.. welcome https://github.com/stevermeister/ng-biscuit
👍
om :+1:
:thumbsup:
+1
+9001
+1
+1
+1
:+1:
+1
Plus one
+1
:+1:
:+1:
Is this one still up for grabs by the community? I would love to take it on.
I, like @Ppchiu, would be willing to take this on.
