Skip to main content

Posts

Showing posts from October 1, 2018

Create an Angular application with CRUD operations for company and branch details with in-memory data:

Create an Angular application with CRUD operations for company and branch details with in-memory data: This tutorial assumes that you have installed the necessary npm packages and the latest Angular version, and CLI version,   To install the CLI for Angular use the following command, npm install -g @angular/cli then use the command ng new CompanyBranchCRUD The above command will create a directory ‘CompanyBranchCRUD’ and install necessary items Once the installation is over then go the created directory cd CompanyBranchCRUD The following 3 steps is optional, this is for bootstrap, if you want to concentrate on functionality happy to skip these. Step 1: npm install --save bootstrap@next If any error occurs then use npm install --save bootstrap Step 2: Import the bootstrap in the style.css file @import "~bootstrap/dist/css/bootstrap.css"; Step 3: install the BootStarp components by issuing the command npm install --save @ng-bo