Mobile camera flashlight implementation in ionic --v2
#Step 1: Create a project in ionic --v2.
$ ionic start Flashlight --v2
#Step 2: Add Platform.
$ ionic platform add android
#Step 3: Install plugin.
$ ionic plugin add cordova-plugin-flashlight
#Step 4: Replace 'src' directory of Flashlight ionic --v2 project.
#Step 5: Build
$ ionic build android.
#Step 6: Run on device.