Giter Site home page Giter Site logo

Comments (7)

voronianski avatar voronianski commented on August 19, 2024

@AshMcConnell looks strange.. maybe problems with angular version, it's not tested with beta one..

from ngdialog.

voronianski avatar voronianski commented on August 19, 2024

@AshMcConnell please use stable Angular version 1.2, e. g. latest https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js

from ngdialog.

AshMcConnell avatar AshMcConnell commented on August 19, 2024

Strange that it works on chrome / firefox - I'll give it a go with the latest stable :)

from ngdialog.

AshMcConnell avatar AshMcConnell commented on August 19, 2024

Ok, it now fails on all browsers with the same error, i.e. : -

Error: [$injector:unpr] http://errors.angularjs.org/1.2.23/$injector/unpr?p0=ngDialogProvider%20%3C-%20ngDialog
at Anonymous function (http://onlineracingchampionship.com/scripts/angular.min.js:36:196)
at c (http://onlineracingchampionship.com/scripts/angular.min.js:34:273)
at Anonymous function (http://onlineracingchampionship.com/scripts/angular.min.js:36:266)
at c (http://onlineracingchampionship.com/scripts/angular.min.js:34:273)
at d (http://onlineracingchampionship.com/scripts/angular.min.js:34:487)
at instantiate (http://onlineracingchampionship.com/scripts/angular.min.js:35:163)
at Anonymous function (http://onlineracingchampionship.com/scripts/angular.min.js:67:417)
at Anonymous function (http://onlineracingchampionship.com/scripts/angular.min.js:54:40)
at r (http://onlineracingchampionship.com/scripts/angular.min.js:7:390)
at O (http://onlineracingchampionship.com/scripts/angular.min.js:53:420)

I must be doing something stupid, any ideas what I've done?

from ngdialog.

voronianski avatar voronianski commented on August 19, 2024

@AshMcConnell somthing wrong with your initializing angular app and ngDialog, please share the code..

from ngdialog.

AshMcConnell avatar AshMcConnell commented on August 19, 2024

Sorry I didn't have ngDialog in my list of dependencies

var orcApp = angular.module('orc', ['ngResource', 'ngAnimate', 'textAngular', 'ngDialog']);

I don't understand how it worked before without this! Very strange.

Sorry for wasting your time, thanks for your help

from ngdialog.

michelleri avatar michelleri commented on August 19, 2024

Having the same problem with angular-1.2.16 and ngDialog.js. After repeatedly trying to find out what caused the problem, here is what I found:

browser complains about /angular.js not found, while I am using /angular.min.js everywhere in my code and I don't have a angular.js in my project.

Please help indicate where and how in ngDialog.js is utilizing angular.js.

from ngdialog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.