I'm using two directives to optimize the image loading on my application.
The first is called srcResponsive (which choose the format image to load according to the width/heifght of my page), the second one is called lazySrc (allow to load image only if it's visible on the page).
When I use them seperatly it works well :
<img src-responsive="[['small', '{{picture.small}}'], ['medium', '{{picture.medium}}'], ['large', '{{picture.large}}']]" />
<img lazy-src="{{server_address}}{{tweet.picture.medium}}" />
But I want to use them on only one img element, that is to say apply the two directives without having to change the code of my two directives, in order to let them independent.
Is it possible ?
Thank you