How can I send the text from selected checkbox to the div with selected-checkbox class?
For example, if I click on the first checkbox the div should get the text "First label".
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<label>First label</label>
<input type="checkbox" />
<label>Second label</label>
<input type="checkbox" />
<label>Third label</label>
<input type="checkbox" />
<div class="selected-checkbox"></div>
