docs(aio): clean up frequent ng-modules (#24025)

Closes #24017

PR Close #24025
This commit is contained in:
Alan Agius 2018-06-02 10:18:11 +02:00 committed by Victor Berchet
parent ccaa199366
commit 7623d74607
1 changed files with 4 additions and 4 deletions

View File

@ -44,25 +44,25 @@ of some of the things they contain:
<tr> <tr>
<td><code>FormsModule</code></td> <td><code>FormsModule</code></td>
<td><code>@angular/forms</code></td> <td><code>@angular/forms</code></td>
<td>When you build template driven forms (includes <code>NgModel</code>)</td> <td>When you want to build template driven forms (includes <code>NgModel</code>)</td>
</tr> </tr>
<tr> <tr>
<td><code>ReactiveFormsModule</code></td> <td><code>ReactiveFormsModule</code></td>
<td><code>@angular/forms</code></td> <td><code>@angular/forms</code></td>
<td>When building reactive forms</td> <td>When you want to build reactive forms</td>
</tr> </tr>
<tr> <tr>
<td><code>RouterModule</code></td> <td><code>RouterModule</code></td>
<td><code>@angular/router</code></td> <td><code>@angular/router</code></td>
<td>For Routing and when you want to use <code>RouterLink</code>,<code>.forRoot()</code>, and <code>.forChild()</code></td> <td>When you want to use <code>RouterLink</code>, <code>.forRoot()</code>, and <code>.forChild()</code></td>
</tr> </tr>
<tr> <tr>
<td><code>HttpClientModule</code></td> <td><code>HttpClientModule</code></td>
<td><code>@angular/common/http</code></td> <td><code>@angular/common/http</code></td>
<td>When you to talk to a server</td> <td>When you want to talk to a server</td>
</tr> </tr>
</table> </table>