This page is a work in progress.
PrefsService - Preferences Service
PrefsService is an Angular Factory in the Util module with the name prefs.js
. It provides an API to manage preferences using the $cookies service. To use these functions, see the documentation on injecting Angular services.
Name | Summary |
---|---|
getPrefs | Gets a cookie with a specific name's value. |
asNumbers | Converts string values to numbers for all or selected keys. |
setPrefs | Sets the cookie preferences as a string into the cache. |
Function Descriptions
getPrefs
asNumbers
setPrefs