ngSrc not working inside windows directive
When using <img ng-src="{{image_url}}" /> inside windows directive the images don't show.
Plunker: http://plnkr.co/edit/wGkOznRAaVasFCOJTGhT?p=preview (master & develop branch)
Is this an expected behavior? Any workaround?
ngSrc works fine when using window directive + templateUrl, but templateUrl doesn't work on windows directive, see: #410
yes it is expected behavior currently. In order to make the binding work correctly that window will need another controller to bind to. Please see the examples or issue on getting button clicks to work inside a window. It is the same issue / approach . In the example any of the windows with a button in it where an window.alert is rendered deals with this.
Can I use $rootScope to send data to functions in another controller?