<commit_before><h2 class="standard-title">
	<span class="title-category">Main Concepts</span>
	Practical Work - Pipes
</h2>

<p>
	Let's work on the <em>books</em> page to manage the pagination and filtering books
	with help of pipes
</p>

<ul>
	<li>
    	On the form,use the <em>ngModel</em> directive to bind the input / select fields with some attributes in your <em>Books</em>
    	component
	</li>
	<li>
		Have a look at the existing <em>FilterFieldPipe</em> which is usefull to filter objects by field name:
		<ul>
			<li>
				Its input is an array of objects
			</li>
			<li> 
				It's waiting for 2 arguments: the field name on which it will filter and the value to filter
			</li><commit_msg>update Slide pwPipes<commit_after><h2 class="standard-title">
	<span class="title-category">Main Concepts</span>
	Practical Work 7 - Pipes
</h2>

<p>
	Let's work on the <em>books</em> page to manage the pagination and filtering books
	with help of pipes
</p>

<ul>
	<li>
    	On the form, use the <em>ngModel</em> directive to bind the input / select fields with some attributes in your <em>Books</em>
    	component
	</li>
	<li>
		Have a look at the existing <em>FilterFieldPipe</em> which is usefull to filter objects by field name:
		<ul>
			<li>
				Its input is an array of objects
			</li>
			<li> 
				It's waiting for 2 arguments: the field name on which it will filter and the value to filter
			</li>
{'fraction_non_alphanumeric': 0.1049645390070922, 'fraction_numerical': 0.004964539007092199, 'mean_word_length': 3.451104100946372, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2769922', 'n_tokens_mistral': 520, 'n_tokens_neox': 468, 'n_words': 197}