<div class="toggle-switch" ng-click="switch()" ng-class="{'active': isActive}">
    <input type="hidden" ng-attr-name="{{name}}" ng-attr-value="{{value}}"/>
    <div class="switch-handle"></div>
</div>