driftyco/ng-cordova — pull request #393 by drazmazen (2014-10-24 18:53:52+00:00)
Title: Adds the toggle() method for the flashlight plugin

The flashlight plugin supports toggle() as an alternative to switchOn() and switchOff() methods, but it's missing in ngCordova. This pull request adds it.