Consider the following:
<span ng-bind-html="product.icon"></span>
If product.icon contains:
<img src="http://localhost/angularjs/public/gfx/product/logo_1.png" width="18" height="18">
It will display fine. However, if it contains:
<img src="http://localhost/angularjs/public/gfx/product/logo_1.png" style="width: 18px; height: 18px">
Then width and height are not respected.
Why this behavior? Is it because of : or ; from the inline style?
not respected? If inside<span>you can see<img..>then your question probably has nothing to do with angular, but rather with cssng-bind-html.$sanitizeservice".