* when using forEach the params are value, key, but it is often useful to have key, value. * @param {function(string, *)} iteratorFn * @returns {function(*, string)}
(iteratorFn)
| 167 | * @returns {function(*, string)} |
| 168 | */ |
| 169 | function reverseParams(iteratorFn) { |
| 170 | return function(value, key) { iteratorFn(key, value) }; |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * A consistent way of creating unique IDs in angular. The ID is a sequence of alpha numeric |
no outgoing calls
no test coverage detected