What are peoples views on this? If i have a phonegap plugin, should i write a angular factory method (like ionic has in the learning ionic, for the camera function), or is it really not needed?
Wrappers, all the way. Angular likes to keep control of everything and having things injected properly will always benefit you as your application grow.
Take a look at Brian Fords blog about cordova and angular
1 Like
Thank you. I had created my own wrapper for a phonegap plugin i wrote, but i wasnt sure it is was overkill or not.