Reputation: 12520
I've used Angular in a project once before, but trying to get a quick little something set up again is giving me this:
Module 'app' is not available! You either misspelled the module name or forgot to load it.
As far as I can tell I've declared app
properly in my app.js
.
I made a little plunker for convenience: http://plnkr.co/edit/FWHQ5ZDAByOWsL9YeMUH?p=preview
Upvotes: 0
Views: 29
Reputation: 1708
You miss the .
on the source file:
Replace
`<script src='/app.js'></script>`
with
`<script src='./app.js'></script>`
Upvotes: 2