<a ng-if="element.builder.modalVisible" ng-click="$root.$broadcast('addElement', {elem: element, action: 'before' })" title="Insert Before {{ element.builder.name }}"><i class="mgz-icon mgz-icon-add"></i> <span>Insert Before</span></a>