NodeJs or AngularJs? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19

NodeJs or AngularJs?

What is the difference between nodejs and angularjs? In which cases nodejs be used. I understand that nodeJs is a framework and is good for making web services. Is AngularJs equally good? I am imagining they both are based on Javascript.

19th May 2018, 5:12 PM
Tanmay Shrivastava
Tanmay Shrivastava - avatar
3 Answers
+ 8
Angularjs is for the front end. it is a JavaScript module and its code is executed(interpreted) by the browser Node.js is a programme that interprets JavaScript. It replaces a browser, so that you can run JavaScript like just another script language. As such, it allows to run JavaScript on the backend, like (or instead of) php or python.
19th May 2018, 6:25 PM
ifl
ifl - avatar
+ 14
thanks a lot! it makes a lot of things clearer.
20th May 2018, 8:11 AM
Tanmay Shrivastava
Tanmay Shrivastava - avatar
0
for rest services or api rest are the frameworks based on nodejs as express.js or nest.js for banckend while angular is a framework for the client side based on HTML CSS and JAVASCRIPT or TYPESCRIPT components Here is an example of the use of the frameworks for a web application. https://gitlab.com/crisjc/gestion-edificios
24th Feb 2019, 2:44 AM
CRISTHIAN JUMBO
CRISTHIAN JUMBO - avatar