I am Trying to install angular4 but in the process I type this command:
cd /var/www/html/As referred by the video but the error showing is this:
bash: cd: /var/www/html/: No such file or directory 2 Answers
/var/www/html is created when you install Apache HTTP server.
You can install Angular without Apache.
Check this out How to install Angular
2I don't think you need Apache in order to use AngularJS. But I am presuming that whatever video you are following used the Apache Tomcat to serve the angular project.
Angular projects needs to be served by any server in order to get executed, after all its an web application right !! Usually people use node servers to serve the angular application because its easy and quick even new versions of Anuglar has CLI that has this capability in built.