Problem adapting Plunker example

40 views
Skip to first unread message

mark goldin

unread,
Sep 29, 2014, 8:19:31 PM9/29/14
to ang...@googlegroups.com
I am trying to adapt the following code:

I have copied all files to my local system. When I run it I am getting the following error:

Uncaught Error: [$injector:modulerr] Failed to instantiate module darrylsnow due to:
Error: [$injector:nomod] Module 'darrylsnow' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Can't why wouldn't it work on my system. Appreciate if someone could take a look.

Thanks

Eric Eslinger

unread,
Sep 29, 2014, 8:23:35 PM9/29/14
to ang...@googlegroups.com
are you compiling the coffeescript files into javascript? that'd cause issues if you didn't.  

e

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

mark goldin

unread,
Sep 29, 2014, 9:14:37 PM9/29/14
to ang...@googlegroups.com
No, I am not doing anything. Just copying files. that's all.

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/495LYN8DI84/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.

Eric Eslinger

unread,
Sep 30, 2014, 1:38:55 AM9/30/14
to ang...@googlegroups.com

That would be the problem then. The files on plunker are coffee script, which plunker apparently compiles into JavaScript. You'll need to compile them to use them (note that the index includes .js files which aren't present).

Check out coffeescript.org

E

mark goldin

unread,
Sep 30, 2014, 6:31:39 AM9/30/14
to ang...@googlegroups.com
Ah, I see. Thanks!
Reply all
Reply to author
Forward
0 new messages