Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Uncaught ReferenceError: _ is not defined #19

Open
xuye opened this issue Nov 21, 2014 · 2 comments
Open

Uncaught ReferenceError: _ is not defined #19

xuye opened this issue Nov 21, 2014 · 2 comments

Comments

@xuye
Copy link

xuye commented Nov 21, 2014

when i import angular-underscore.js file and inject to angular module, it will have a error like this:
Uncaught ReferenceError: _ is not defined in angular-underscore.js line 157.
have any suggestion?

@floydwch
Copy link
Owner

It seems you not import the underscore or lodash first.

@raynoppe
Copy link

I get the same error my code with import sequins

var MetronicApp = angular.module("MetronicApp", [
"angular-underscore",
"ui.router",
"ui.bootstrap",
"oc.lazyLoad",
"ngSanitize",
"angular-websql",
"checklist-model",
"ui.sortable"
]);

js file loaded successfully show fine in network.

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

No branches or pull requests

3 participants