Tag Archives: ionic

ngCordova file & angular provider

ngCordova – good, but can’t use in browser.

ngCordovaMocks - helps a lot, but still need to set grunt task to change what to include for testing in browser and production.

But why not to use $provider for this and set config.js ?

Something similar to section about IE 

And some resources:

https://thinkster.io/egghead/providers/

http://nathanleclaire.com/blog/2014/04/12/unit-testing-services-in-angularjs-for-fun-and-for-profit/

https://docs.angularjs.org/guide/providers

 

ngCordova has mocks? https://github.com/driftyco/ng-cordova/releases

https://github.com/driftyco/ng-cordova/pull/15