Edit in JSFiddle

<div ng-app="checkboxApp" ng-controller="mycheckboxController">
     <div>
    <ul ng-controller="mycheckboxController">
       <li>Check All
    <input type="checkbox" ng-model="selectedAll" ng-click="checkAll()" />
       </li>
        <li ng-repeat="item in Items">
           <label>{{item.Name}}
              <input type="checkbox" ng-model="item.Selected" />
               </label>
           </li>
       </ul>
   </div>
   </div>