Category Archives: Angular

Angular – Template-drive Forms

By | 30/10/2019

Angular – Reactive Forms In this post, we will see how to define a Form, using Template-drive forms approach, for creating new users in our usual angular project.First of all, we create another component called newusertd and then, we will add it in app-routing and topmenu: ng g c newusertd [APP-ROUTING.MODULES.TS] [TOPMENU.COMPONENT.HTML] Now, in order… Read More »

Angular – Reactive Forms

By | 25/09/2019

From https://angular.io/guide/forms-overview:“Applications use forms to enable users to log in, to update a profile, to enter sensitive information, and to perform many other data-entry tasks.Angular provides two different approaches to handling user input through forms: reactive and template-driven. Both capture user input events from the view, validate the user input, create a form model and… Read More »

Angular – How to consume a Web API

By | 21/08/2019

In this post, we will create an Angular application that it will show a list of users taken from the Web API created in the post: Web API with ASP.NET Core. We open Terminal and create a new project called “manageusers”: Now, we will create a component called listeners for showing the list of users.We… Read More »

Angular CLI

By | 07/08/2019

Angular CLI is a command line tool for creating Angular application.It avoids to spend time for installing, configuring all the required dependencies and wiring everything together.Angular CLI is available for many platforms such as Windows, Mac and Linux and, in order to install it, we have to install node.js before.After Node installation, using the command… Read More »