* Set or clear the hashkey for an object. * @param obj object * @param h the hashkey (!truthy to delete the hashkey)
(obj, h)
| 402 | * @param h the hashkey (!truthy to delete the hashkey) |
| 403 | */ |
| 404 | function setHashKey(obj, h) { |
| 405 | if (h) { |
| 406 | obj.$$hashKey = h; |
| 407 | } |
| 408 | else { |
| 409 | delete obj.$$hashKey; |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * @ngdoc function |