What is ng-biscuit?
ng-biscuit(or ngBiscuit) is simple module for managing cookies for AngularJS that allows to manupulate with options live domain, path, secure(that is not possible with angular-cookies).
How to install
bower install ng-biscuit
or just simply download the library.
How to use
just include dist file:
<script type='text/javascript' src='path/to/ng-biscuit.js'></script>
inject module:
angular.module('myapp', ['ngBiscuit']);
and enjoy cookieStore service:
cookieStore.put("test0", "Hello world!");
alert(cookieStore.get("test0"));
cookieStore.remove("test0");
alert(cookieStore.get("test0"));
Demo
You can find example here.
Contribution
Having trouble with ng-biscuit or want to share idea of improvement? Please create an issue for it here