<div class="checkbox-container">
    <input id="{{id}}" type="{{type}}" ng-model="model" value="{{value}}" />
    <label class="checkbox-label" for="{{id}}">
        <span class="checkbox">
            <i ng-class="{ 'ic-checkbox-check': type == 'checkbox', 'ic-circle-fill': type == 'radio' }"></i>
        </span>
        <span>{{ text }}</span>
    </label>
</div>