Skip to content

Unable to load in angular-seed app #72

Description

@rkiesler1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions