Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does angularJS need to run a server?

I'm new to AngluarJs, and when I was trying it out (using Webstorm) I noticed that the url it takes me to is localhost:62345.

Why does a JavaScript library require a server? What is the purpose of the webserver?

like image 632
Benyamin Noori Avatar asked Oct 16 '25 04:10

Benyamin Noori


1 Answers

This is not angular but ide specific. Angular runs on frontend and hence there is no need to run a server to debug angular on front end as long as it doesn't involve server communication. Also you can try running from file explorer and have no issue.

like image 98
binariedMe Avatar answered Oct 18 '25 03:10

binariedMe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!