Learn free Material tutorials


How to create angular model class or interface in Angular?

July 17, 2021 ·  4 min read

In this post, This post covers an step by step tutorial in Angular How to create a model class in angular application using cli or manually? How to generate a model interface in typescript application using cli or manually? When to use class or interfaces for models in Angular applications? Initialize model class with array of objects in typescript Display model classes data in angular template file Angular is front end UI framework which holds the information from browser and send it to Database....


Angular 12 Setup Mock API and consume and return data

June 24, 2021 ·  7 min read

In this post, You will learn how to create a Simple mock api to return json data in Angular application without creating backend API Some times, We want to test data components using API code, if there is no backendcode, This tutorials explains about How to create a Backend REST API for mock data which returns json object in Angular application First Create a angular application First check angular cli or not using ng -version...


Angular material Snackbar tutorials | mat-snackbar examples

March 3, 2021 ·  7 min read

Contents What is snackbar UI component? Angular Snackbar Configuration Import MatSnackBarModule into angular application Simple Basic component Notification message Action button with a message Duration Snackbar Position panelClass custom css styles - color,font Passing data with openFromComponent method Stackblitz complete example What is snackbar UI component? Snackbar is an important UI element in designing frontend applications.It is a small popup window, displays reactive information messages to accept user input from a user....


Subscribe
You'll get a notification every time a post gets published here.