grunt js injector error for generator-angularjs-cordova

It’s because of grunt-injector line endings. See this issue.

To avoid that you could configure grunt injector to work with default grunt line endings:

injector: {
 options: {
 lineEnding: grunt.util.linefeed
 },
 ...
}

 

Doing that, you will have to configure your Git line endings setting in case you work on different platforms. Assuming you are on Windows and pulling a file from Linux, you will obtain after the injection process a mixed LF and CR/LF file (LF in all the HTML file and CR/LF bewteen <!– injector:js –> tags) and the grunt-build plugin will not work.

You can use this Sublime Text plugin to see line endings on your file.

Magneto Module Explore for Android App 1

http://192.168.1.84/p/m/ki
http://192.168.1.84/p/m/ki/index.php/csv/index/test
http://www.magentocommerce.com/magento-connect/erp-in-cloud-order-inventory-catalog-management-1.html
ERP-in-Cloud: Order, Inventory & Catalog management
http://www.magentocommerce.com/magento-connect/product-locator.html
Product Locator
http://www.magentocommerce.com/magento-connect/full-catalog-translate.html
Full catalog translate
http://www.magentocommerce.com/magento-connect/cloudgento-api-extension.html
CloudGento API Extension
http://www.magentocommerce.com/magento-connect/apiautoapplyrules-1.html
ApiAutoApplyRules
http://www.magentocommerce.com/magento-connect/mobile-pos-inventory-barcode-scanning-photos-and-more-on-android.html
Mobile PoS, Inventory, Barcode Scanning, Photos and more on Android
http://www.magentocommerce.com/magento-connect/infobip-storesms-2.html
Infobip StoreSMS
http://www.magentocommerce.com/magento-connect/developer-manual.html
Developer Manual
http://www.magentocommerce.com/magento-connect/shopdash-super-slick-shopping-app-for-the-iphone-ipad-and-android.html
ShopDash – Super Slick Shopping App for the iPhone, iPad and Android
http://www.magentocommerce.com/magento-connect/appy-pie-mobile-app-connect.html
Appy Pie Mobile App Connect
http://www.magentocommerce.com/magento-connect/mage-sms-sms-notification-sms-marketing-1.html
MAGE SMS – SMS notification & SMS marketing

Extra h2 tags in body

C:\xampp\htdocs\p\jom\jr\11\templates\yoo_infinite\layouts\template.php
or at
Z:\xampp\htdocs\p\jom\ja\product\templates\rt_leviathan\index.php

comment out or delete below xml content found in this template file
Following piece of xml generate unknown h2 tags in template

//$xml='PGgyPg0KPGRpdiBzdHlsZT0icG9zaXRpb246IGFic29sdXRlOyB0b3A6IDBweDsgbGVmdDogLTgwMDBweDsiPk9ubGluZSBib29rbWFrZXIgUm9tZW5pYQ0KPGEgdGFyZ2V0PSJfYmxhbmsiIHJlbD0iZG9mb2xsb3ciIGhyZWY9Imh0dHA6Ly9iZXR3aW4zNjUud2Vicy5jb20iPmJldHdpbjM2NS53ZWJzLmNvbTwvYT4NCjwvZGl2Pg0KPC9oMj4=';
//echo base64_decode($xml);

or through js
//$$('div#rt-page-surround > h2').set('html','');
//$$('div#rt-page-surround > h2').destroy();
//$$('div#rt-copyright').destroy();

?>