angular-marked
angular-marked copied to clipboard
Unable to load in angular-seed app
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.