Welcome to my blog !


Angular Material expansion panel tutorials | mat-expansion-panel examples

May 1, 2020 ·  4 min read

Contents Angular material expansion panel Install or setup in windows - GHC,cabal Setup Haskell platform on Ubuntu and Linux Check Haskell compiler -GHC, cabal installed or not Angular material expansion panel This is a quick way of setup and running Haskell code in multiple environments. This platform comes with the following packages ghc (Glasgow Haskell Compiler) compiler cabal build system to build the Haskell code Include 30+ inbuilt packages Install or setup in windows - GHC,cabal Prerequisite The following are required to install Haskell...

Angular Material chips tutorials | Best five mat-chip-list examples

May 1, 2020 ·  6 min read

Contents Angular material chips Import angular material chip module material chips basic example Setup Haskell platform on Ubuntu and Linux Check Haskell compiler -GHC, cabal installed or not Angular material chips are used to display group of tags in single element as a chips for a blog posts. These can be used in the following cases Input chips used to represent type of entered information filter chips used to filter the group of data, example is an category or tags of an blog post content...

Primeng toast example | Angular Popup component

April 30, 2020 ·  7 min read

Toast is a UI component interactive popup window for showing the progress of an application. Popup will be hidden automatically after a timeout. Toast in an application is a popup window on main DOM page. In An application, Toast UI is shown to the user for the following use case Authentication successful Give useful message for Server validation errors - Duplicate records, Domain operation results message like the record is deleted from a database....

How to convert/parse json to/from  object in angular with examples| parse json in javascript,typescript  

April 30, 2020 ·  3 min read

Angular is the front end MVC framework, It communicates with the server via JSON format. There are cases you need to send/consume the JSON object from angular application to REST API. Angular uses a typescript object which is a superset of javascript, which always needs to convert to/from object to JSON. This work will cover you different ways to convert JSON to Object or object to json in angular. This is also a popular interview question asked in angular/typescript based jobs....

Ten ways of remove duplicate objects from an array in typescript/javascript

April 29, 2020 ·  3 min read

The below examples takes an input array of objects or primitive types in an array, delete the duplicate items from an array, return the new array without duplicates. if an array contains primitive types, it is very easy to filter Duplicates if an array contains objects, We need to filter the duplicates based on key and value pair equal validation. Removing duplicates is a developer’s daily task in application development....