'use strict';

angular
    .module('lmServices')
    .constant('Admin', (/((; )|^)admin=true(;|$)/).test(document.cookie));

@@ -8,16 +8,396 @@
 rict';%0A%0A
+// This %22admin%22 cookie is not intended to be secure. All it does is display a few convenience%0A// buttons for quick access to the admin interface. Access to the admin interface is unrestricted;%0A// the admin interface merely displays the same data as the normal web interface, but in an%0A// editable manner. Authentication happens server-side when the user attempts to save changes.%0A
 angular%0A

Add comments explaining how the admin interface works