a simple flashlight app built with ionic and cordova