After setting up Yeoman and Bootstrap for an AngularJS project, I utilized the grunt server
command for debugging and coding. However, when I tried using the 'grunt build' command, it generated a dist folder. Unfortunately, when I attempted to run index.html, I encountered a JavaScript error that read:
XMLHttpRequest cannot load file:///home/cuongcua/project/magic-listen/dist/views/main.html. Cross origin requests are only supported for HTTP.