Email Validation in Angular with Example

Email Validation in Angular with Example

In this article we’ll see email validation in Angular. In Angular we can validate Email using two directives EmailValidator and PatternValidator. These two directives are built-in Angular directives for email validation. We can also create our CustomValidator for email validation in Angular.

Solution: mat-form-field must contain a MatFormFieldControl error in Angular

Angular mat-form-field must contain a MatFormFieldControl

If you are using Angular material in your project and if you have any forms in the application then you must be using Angular Material Form Field Component from MatFormFieldModule And of the common error that we usually get is while working with Angular Material Form Field is: mat-form-field must contain a MatFormFieldControl.

Top 10 VS Code extensions

Top 10 VS Code extensions

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).