Working on extending the functionality of the ionic-todo tutorial, am trying to implement Toast notifications into the application.
I am getting this error when I run the $cordovaToast. Cannot read property toast of undefined. I’ve defined $cordovaToast in the controller, and it even shows the .show() as a function when I hover over it in dev tools…
ngCordova is defined, do I need to define anything else in the module?.
This line is an example call of the $scope.ToastMeBaby()
Here is my HTML where I’ve defined the scripts and plugin for Toast.js
What am I doing wrong? It won’t show up on the web view from ionic serve, nor from the ionic upload test on my Android phone.