0

I downloaded the projects in this link (http://angular-tips.com/blog/2015/01/a-backend-less-plunker/)

When I click index.html, it cannot execute. I need to use web server to host it? If not, how can I run this index.html

9
  • 1
    Welcome to Stack Overflow. Please provide more details about your issue. What "cannot execute" means and what happens when you try accessing the index.html file? Have you checked the browser's console (usually F12) for errors? Commented Dec 4, 2016 at 1:48
  • "cannot execute" means not display what is supposed to be. I mean it should display something in the page. I know it should use something to host it. But I just do not know which one is good to host it. Commented Dec 4, 2016 at 1:53
  • No hosting is needed. It should work in the browser as-is. You might be missing a file or there may be some other issue. You will need to check in the browser's error console to find out more details. Commented Dec 4, 2016 at 1:55
  • I got three error: 1. angular.js:9812 XMLHttpRequest cannot load 2. angular.js:11592 Error: [$compile:tpload] Failed to load template: todos.html 3. Failed to load resource: net::ERR_FILE_NOT_FOUND Commented Dec 4, 2016 at 1:59
  • But I download the Brackets as Jerry mentioned, I just load the project folder, it just works. I do not know why it can work when I use Brackets this software. Do you have idea about it Commented Dec 4, 2016 at 2:01

1 Answer 1

0

Try downloading brackets.io. Load the files into brackets.io UI and run the code. This will execute the code for you.

Sign up to request clarification or add additional context in comments.

2 Comments

This does not seem to answer the OP's question. This should probably be a comment.
Hi Jerry, I download the Brackets as you mentioned, I just load the project folder, it just works. I do not know why it can work when I use Brackets this software but it cannot work when I just open index.html without using Brackets. Do you have idea about it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.