ng-notifications-bar
ng-notifications-bar copied to clipboard
Use $cookieStore to save prevent notifications a user has already dismissed / closed
Use $cookieStore to save prevent notifications a user has already dismissed / closed
- This has a config spot in the provider (getSaveResponse, setSaveResponse)
- Add a provider config option for the cookies prefix value
- validate that a notification with saveResponse also has a id parameter. This was needed to find * correspond correct notifications for dismissal.
Sub-task of #15
I have implemented this code in my own codebase here. I would happy to take this ticket and use my current work as a starting point for a pull request.
EDIT: Too late, I already did it :+1:
Discussion took place here.