angularjs-cookies

A complete cookies reader/writer Angular Module with full unicode support

Added by: Sam Deering

GitHub

Repository

xapu/angularjs-cookies

Stats

Stars: 8

Watchers: 8

Forks: 5

Author

Wc
Wc

Module Description

AngularJS Cookies

A complete cookies reader/writer AngularJS Module with full unicode support, based on A little framework from Mozilla developer Network

Usage

Include cookiesModule.js in your application index.html.

<script src="scripts/services/cookiesModule.js"></script>

Add the module cookiesModule as a dependency to your app module:

var myapp = angular.module('myApp', ['cookiesModule']);

Inject Cookies factory in your controller

app.controller('myController', function (Cookies) {

Use it

See cookiesModule.js for more usage examples

Cookies.setItem(name, value[, end[, path[, domain[, secure]]]])
Cookies.getItem(name)
Cookies.removeItem(name[, path])
Cookies.hasItem(name)
Cookies.keys()

Module stats last updated: 2015-04-22 02:21:25

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!