ngCordova formatted version of WifiWizard