1789

Replace all commas in a string using angular

Today, I was trying to replace commas in a string using TypeScript. I know the replace method will help us to do it. In C#, you usually use a replace method like below which will replace all commas in a string. var str = “A,B,C,D”; Console.WriteLine(str.ToString().Replace(“,”,””)); Output: ABCD But, when I tried a replace method using TypeScript then I have […]

Read More
712

Create angular application using visual studio code and angular CLI

To start with creating a new angular application You need Node.js and Angular CLI installed on your machine. Step 1: Install Node.js You can download Node.js from nodejs.org website or Click here to navigate to site. You will land on the below page. The latest LTS version is 10.13.0 which includes NPM. Based on your […]

Read More
679

NPM command cheat sheet

In this article, you will learn various NPM commands with a detailed description of each command. 1. npm install Install all package mentioned in ‘package.json’ npm install –save: Install a package and update the installed version and package name in package.json npm install –save-dev: Install a package as devDependency npm install –save-exact: Install with exact […]

Read More
758

Why Angular is so popular?

Nowadays, most enterprises are choosing AngularJS technology for building applications. This article will make you know the reasons for the popularity of AngularJS technology. What is AngularJS? AngularJS is an open-source, front-end JavaScript framework developed by Google for developing client-side applications. AngularJS simplified the client-side development with its highly recommendable feature. It excels at building dynamic, single-page web apps (SPAs) […]

Read More