I have just started the angular.io tutorial, tour of heroes (tutorial)
I have encountered a compilation error which I was not able to locate in the code. So I decided to download the complete example and it did not work.
- copy and pasted existing folder "angular-tour-of-heroes" (so I can keep my original code intact for future reference) and renamed like "angular-tour-of-heroes2".
- unzipped , overwrote complete code to the folder
- and there came an error
that I have to be in a project folder
and which I am! After that I tried some other example locally, and it did not work as well.
My finding is so far, angular only works on the folder created through CLI. meaning you have to install "Ng new folder" for any small project even simple sample code for practice?
Am I right?