Im trying to setup dev-push on my app, but the quickstart guide tells me to add this code:
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
var push = new Ionic.Push({
"debug": true
});
push.register(function(token) {
console.log("Device token:",token.token);
});
});
})
but I get a
ReferenceError: Can't find variable: Ionic
How do I initialise the Ionic variable?