Submitted by sneha on Wed, 05/15/2019 - 19:19
We have a content type named 'Q & A'. Go to Structure > Add Content > Q& A and nvaigate to Question text area section. Or click here.
Select the text format as FULL HTML.
Start typing the code in text area
Once you have started writing the code, click on Source option in editor toolbar,
Submitted by sneha on Sun, 07/08/2018 - 02:02
Add below lines to package.json
Run npm install on the project folder to download the files.
/bootstrap.js to scripts tag
Submitted by sneha on Mon, 06/04/2018 - 03:27
Angular is a single page application. Single page served by angular is index.html. Below is the structure of default index.html.
<app-root> is a tag present in index.html. How angular will know about this tag. That is taken care by main.ts which is the first script that will run. Below is the structure of main.ts
Submitted by sneha on Sat, 06/02/2018 - 04:25
Download and install node js latest version to get npm
npm install -g @angular\cli
Navigate to the folder where we need to setup Angular project and run
ng new my-first-app
Navigate to the project folder and run
Submitted by sneha on Sat, 06/02/2018 - 04:22
Major release version of Angular are:
The version 2.x and higher is called 'Angular' and the version 1.x or less is called 'Angular JS'