I have a webwidget written in angularJS. I can load the webwidget in Magento site by embedding a small java script that loads the angularJS code that is deployed on a central CMS. Now I want to package this module into Magento connect extension and publish it Magento market place. Can this be done and how or do I need to write the entire module in PHP before creating it into extension archive?
If the code involve Magento API, then it will be more complex, you may need to look into method renderer stuff as part Magento module as well.
Hope that helps,