diff --git a/.gitignore b/.gitignore index b451726..b9f118c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ platforms/ +.idea/ \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 2d8372f..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - $PROJECT_DIR$/gulpfile.js - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1458038295360 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/www/js/services.js b/www/js/services.js index a99d877..693aa6c 100644 --- a/www/js/services.js +++ b/www/js/services.js @@ -53,6 +53,15 @@ angular.module('SimpleRESTIonic.services', []) return Backand.signin(email, password); }; + service.socialSignIn = function (provider) { + return Backand.socialSignIn(provider); + }; + + service.socialSignUp = function (provider) { + return Backand.socialSignUp(provider); + + }; + service.anonymousLogin= function(){ // don't have to do anything here, // because we set app token att app.js