After experimenting with the generator-angular
, I created a sample app using the following command:
yo angular
Upon learning that I could utilize Coffeescript instead of regular JS files, I decided to create a controller in Coffeescript named user
like so:
yo angular:contrller user --coffee
I updated the controller in the app.js file to UserCtrl
and then proceeded to run the application using:
grunt serve
However, upon checking the console for errors as it was not functioning properly, an error message stating:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:9000/scripts/controllers/user.js