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

Uncaught ReferenceError: _ is not defined  #19

Open

Description

@xuye

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?

Activity

  1. floydwch commented on Nov 22, 2014

    @floydwch
    Owner

    It seems you not import the underscore or lodash first.

  2. raynoppe commented on Jan 28, 2015

    @raynoppe

    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 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