Implementation of the srcset attribute as an AngularJS directive