Closed mvhecke closed 9 years ago
In the current case it's not possible to use valid XHTML if you for example want to use options:
<div afkl-lazy-image-options='{"background": true}'></div>
The attribute content should have double quotes and by using $parse instead of angular.fromJson it allows more use cases.
$parse
angular.fromJson
Coverage remained the same at 91.51% when pulling 89659a254eca56793ef453fc42c45de2ea31b6af on Gamemaniak:master into 3fe850f64d5eb11ad2d8fd7eb05ace5405905230 on afklm:master.
In the current case it's not possible to use valid XHTML if you for example want to use options:
The attribute content should have double quotes and by using
$parse
instead ofangular.fromJson
it allows more use cases.