Preview into Editor Tab is not working for Cordova Light applications

Solution Verified - Updated -

Issue

  • Preview into Editor Tab is not working for Cordova Light applications. Following an example of the issue faced when is trying to use the preview for a Cordova Light application with Cordova plugins.

    ionic.bundle.js:17696 TypeError: Cannot read property 'email' of undefined
    at Scope.$scope.sayHello (controllers.js:11)
    at ionic.bundle.js:18471
    at ionic.bundle.js:43026
    at Scope.$eval (ionic.bundle.js:20326)
    at Scope.$apply (ionic.bundle.js:20424)
    at HTMLButtonElement.<anonymous> (ionic.bundle.js:43025)
    at ionic.bundle.js:10478
    at forEach (ionic.bundle.js:7950)
    at HTMLButtonElement.eventHandler (ionic.bundle.js:10477)
    at triggerMouseEvent (ionic.bundle.js:2648)
    

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.