<div>
    <div class="Widget-title" ng-click="_toggleMode()">
        <% block title %><% endblock %>
    </div>
    <div class="Widget-preview" ng-show="!editMode">
        <% block preview %><% endblock %>
        <!-- <div ng-if="widget.preview" style="max-height: 300px; overflow: hidden;"><img ng-src="{{ widget.preview }}" width="100%" /></div> -->
        <!-- <div ng-if="!widget.preview" style="background: #fff; text-transform: uppercase; text-align: center; padding: 15px 0;">No preview yet!</div> -->
    </div>
    <div class="Widget-inner" ng-show="editMode" ng-if="instantiated">
        <% block edit %><% endblock %>
    </div>
</div>