Sha256: 4a1cbb8a9de335f4f728bf903039908e02a85c585999c09efa9ba89e4677abdc

Contents?: true

Size: 792 Bytes

Versions: 8

Compression:

Stored size: 792 Bytes

Contents

/*
 AngularJS v1.0.1
 (c) 2010-2012 Google, Inc. http://angularjs.org
 License: MIT
*/
(function(m,f,l){'use strict';f.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(d,c){var b={},g={},h,i=!1,j=f.copy,k=f.isUndefined;c.addPollFn(function(){var a=c.cookies();h!=a&&(h=a,j(a,g),j(a,b),i&&d.$apply())})();i=!0;d.$watch(function(){var a,e,d;for(a in g)k(b[a])&&c.cookies(a,l);for(a in b)e=b[a],f.isString(e)?e!==g[a]&&(c.cookies(a,e),d=!0):f.isDefined(g[a])?b[a]=g[a]:delete b[a];if(d)for(a in e=c.cookies(),b)b[a]!==e[a]&&(k(e[a])?delete b[a]:b[a]=e[a])});return b}]).factory("$cookieStore",
["$cookies",function(d){return{get:function(c){return f.fromJson(d[c])},put:function(c,b){d[c]=f.toJson(b)},remove:function(c){delete d[c]}}}])})(window,window.angular);

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
angularjs_scaffold-0.0.22 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
explainer_angularjs_scaffold-0.0.23 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
explainer_angularjs_scaffold-0.0.22 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
explainer_angularjs_scaffold-0.0.21 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
angularjs_scaffold-0.0.19 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
angularjs_scaffold-0.0.18 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
angularjs_scaffold-0.0.17 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js
angularjs_scaffold-0.0.16 lib/generators/angularjs/install/templates/angularjs/angular-cookies-1.0.1.min.js