* Set or clear the hashkey for an object. * @param obj object * @param h the hashkey (!truthy to delete the hashkey)
(obj, h)
| 207 | * @param h the hashkey (!truthy to delete the hashkey) |
| 208 | */ |
| 209 | function setHashKey(obj, h) { |
| 210 | if (h) { |
| 211 | obj.$$hashKey = h; |
| 212 | } |
| 213 | else { |
| 214 | delete obj.$$hashKey; |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | /** |
| 219 | * @ngdoc function |