Tag Archives: Angular

Angular – How to pass values between components using the route state

By | 29/11/2019

In this post, we will see how to pass values between two components, using the router state attribute (from Angular 7.0.2), creating a method to modify the username property in our usual project. First of all, we add a link button in the listusers component for using a method called goedit to update the username… Read More: Angular – How to pass values between components using the… »

Angular – How to deploy an application in Azure

By | 25/11/2019

In this post, we will see how to deploy an Angular project in Azure, using Visual Studio Code.First of all, we open a browser, go to the Azure portal and we create a Web app: In order to verify that our Web App is running, we open a browser and go to: https://angularprojectdamiano.azurewebsites.net/ Now, we… Read More: Angular – How to deploy an application in Azure »

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 – Template-drive Forms »

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 – Reactive Forms »

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: Angular CLI »