Hi Flo,I used the following "trick" - mark the directive as terminal = true and use priority = 100. With this trick you can override the angular built-in directive. BUT ... the drawback is, that only directives with a priority greater >= 100 are executed for this element.app.directive('ngSrc', function(){return {restrict : 'A',terminal: true,priority : 100,link: function (scope, elem, attr) {console.log('first ngSrc directive');}};});-wolf
--You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
Yes sorry I did a quick cut and paste
Pete
...from my mobile.
--
NOK: <img ng-src="myImage.jpg"></img>
--
--