The “BIGINT20″ specification isn’t a digit limit. It just means that when the data is displayed, if it uses less than 20 digits it will be left-padded with zeros. 2^64 is the hard limit for the BIGINT type, and has 20 digits itself, hence BIGINT20 just means everything less than 10^20 will be left-padded with spaces on display.
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 ?
And some resources:
ngCordova has mocks? https://github.com/driftyco/ng-cordova/releases
1) When you’re using a Factory you create an object, add properties to it, then return that same object. When you pass this service into your controller, those properties on the object will now be available in that controller through your factory.
2) When you’re using Service, it’s instantiated with the ‘new’ keyword. Because of that, you’ll add properties to ‘this’ and the service will return ‘this’. When you pass the service into your controller, those properties on ‘this’ will now be available on that controller through your service.
3) Providers are the only service you can pass into your .config() function. Use a provider when you want to provide module-wide configuration for your service object before making it available.