-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: toastCtrl.startProgressBar is not a function #194
Comments
That is weird. You aren't overriding any option on toastr? |
no, here my complete code i need a web server? i don't have now. |
That is really weeird. I will check when I have a minute. |
ty |
You are overriding the controller of the toast directive. Rename your controller and it will work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,
angular.js:12221 TypeError: toastCtrl.startProgressBar is not a function
at createTimeout (angular-toastr.tpls.js:475)
at Scope.scope.init (angular-toastr.tpls.js:436)
at angular-toastr.tpls.js:173
at processQueue (angular.js:14454)
at angular.js:14470
at Scope.$eval (angular.js:15719)
at Scope.$digest (angular.js:15530)
at angular.js:15758
at completeOutstandingRequest (angular.js:5370)
at angular.js:5642
Getting this error when the first toast is called, after we have to click the toast to disable it
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular-animate.js"></script> <script type="text/javascript" src="https://npmcdn.com/angular-toastr/dist/angular-toastr.tpls.js"></script>tried diferent versions of angular and script sources
angular.module('MyApp', ['ngAnimate', 'toastr'])
`
Success
Info
Error
Warning
I'm new with angular and is likely to doing something wrong , but I can not see
thanks and sorry if not is real issue
The text was updated successfully, but these errors were encountered: