Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load in angular-seed app #72

Open
rkiesler1 opened this issue Mar 7, 2017 · 0 comments
Open

Unable to load in angular-seed app #72

rkiesler1 opened this issue Mar 7, 2017 · 0 comments

Comments

@rkiesler1
Copy link

rkiesler1 commented Mar 7, 2017

I am having problems getting this to work in an app created using angular-seed. I added the following to my index.html file:

<script src="bower_components/marked/lib/marked.js"></script>
<script src="bower_components/angular-marked/dist/angular-marked.js"></script>

In my module.js file, I have:

angular.module('myApp.myModule', ['ngRoute', 'ngResource', 'hc.marked'])

When I load the app in the browser, I see this error on the console:

Error: [$injector:modulerr] Failed to instantiate module myApp due to:
[$injector:modulerr] Failed to instantiate module myApp.myModule due to:
[$injector:modulerr] Failed to instantiate module hc.marked due to:
[$injector:nomod] Module 'hc.marked' 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant