Git Product home page Git Product logo

Comments (8)

Foxandxss avatar Foxandxss commented on August 24, 2024

Are you using angular 1.2.x?

from angular-toastr.

piernik avatar piernik commented on August 24, 2024

no angular 1.3.13

from angular-toastr.

Foxandxss avatar Foxandxss commented on August 24, 2024

Could you try the latest .js file on the dist folder on master?

from angular-toastr.

piernik avatar piernik commented on August 24, 2024

The same error :/

from angular-toastr.

Foxandxss avatar Foxandxss commented on August 24, 2024

Uh, what you mean with your app config? and where is the toast on the interceptor? I don't see anything there.

from angular-toastr.

piernik avatar piernik commented on August 24, 2024

ok I have to investigate it myself. But on Monday :)

from angular-toastr.

piernik avatar piernik commented on August 24, 2024

Problem is with one toast (not first as I wrote).
newToast.scope.init(); is trigered before directive's link function toastLinkFunction is executed and that's why I get error.

I don't know why is it happening.

When I remove config I wrote above everything is ok.
Is it possible that $httpProvider is linked to $compile?

Edit:
I fixed it problem was that $httpProvider.interceptors worked for every request even with $templateProvider.

from angular-toastr.

gauravbhavsar avatar gauravbhavsar commented on August 24, 2024

Hi @piernik
I am also getting the same error, can you please tell me how can you fixed this problem ?

error : newToast.scope.init is not a function.

from angular-toastr.

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.