toggleAll (completed) {
			var self = this;
			self.model.read({ completed: !completed }, function (data) {
				data.forEach(function (item) {
					self.toggleComplete(item.id, completed, true);
				});
			});
	
			self._filter();
		}
/**
		 * Will toggle ALL checkboxes' on/off state and completeness of models.
		 * Just pass in the event object.
		 * 
		 * @param {Object} completed The on/off state of models 
		 */
Will toggle ALL checkboxes' on/off state and completeness of models.
Just pass in the event object.

@param {Object} completed The on/off state of models
Will toggle ALL checkboxes ' on / off state and completeness of models . Just pass in the event object . @param { Object } completed The on / off state of models
toggleAll (completed) {
			var self = this;
			self.model.read({ completed: !completed }, function (data) {
				data.forEach(function (item) {
					self.toggleComplete(item.id, completed, true);
				});
			});
			self._filter();
		}
toggleAll ( completed ) { var self = this ; self . model . read ( { completed : ! completed } , function ( data ) { data . forEach ( function ( item ) { self . toggleComplete ( item . id , completed , true ) ; } ) ; } ) ; self . _filter ( ) ; }
Will toggle ALL checkboxes' on/off state and completeness of models.
Will toggle ALL checkboxes ' on / off state and completeness of models .