fix($compile): properly handle setting `srcset` to undefined
Previously, calling `Attributes#$set('srcset', value)` on an `<img>` element would throw if `value`
were undefined, as it assumed `value` is always a string.
This commit fixes the issue, by skipping the unnecessary string manipulation when `value` is not
defined.
Closes #14470
Closes #14493 P
Perry Hooker committed
308f22ba9a803967ce84c995d810990c80478f6f
Parent: 32e2643
Committed by Georgios Kalpakas <g.kalpakas@hotmail.com>
on 4/26/2016, 6:17:51 AM