Can someone help me with the syntax? Some how it does not work:
<div ng-init="imagemodel= {image_source: 'image-item', item: config.doorbell_image, refresh: 1000}">
<widget-image ng-model="imagemodel"></widget-image>
</div>
Thank you.
Can someone help me with the syntax? Some how it does not work:
<div ng-init="imagemodel= {image_source: 'image-item', item: config.doorbell_image, refresh: 1000}">
<widget-image ng-model="imagemodel"></widget-image>
</div>
Thank you.
My mistake was in image-source:
image-item
instead
item-image