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