AngularJS Example
HTML
<div ng-app="app">
<div ng-controller="ParentCtrl">
<li ng-repeat="source in sources">
<label ng-click="updateArticleList($event)">
<input type="checkbox" ng-model="source.selected" />
{{source.title}}
</label>
</li>
</div>
</div>
CSS
</style>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.css"/>
<style>
JavaScript
angular.module('app', [])
function ParentCtrl($scope){
$scope.sources = [
{ title: 'One', selected: false },
{ title: 'Two', selected: false },
{ title: 'Three', selected: false },
]
$scope.updateArticleList = function(event){
if(event.toElement.tagName == 'LABEL'){
//run code
}
};
}