* Set or clear the hashkey for an object. * @param obj object * @param h the hashkey (!truthy to delete the hashkey)
(obj, h)
| 382 | * @param h the hashkey (!truthy to delete the hashkey) |
| 383 | */ |
| 384 | function setHashKey(obj, h) { |
| 385 | if (h) { |
| 386 | obj.$$hashKey = h; |
| 387 | } else { |
| 388 | delete obj.$$hashKey; |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | /** |
| 393 | * @ngdoc function |