angular-google-gapi icon indicating copy to clipboard operation
angular-google-gapi copied to clipboard

Running on localhost

Open joshuar500 opened this issue 9 years ago • 2 comments

Hi,

I am getting a 404 when I put this as base: 'http://localhost:3000/_ah/api'

I'm running this using gulp. Any ideas?

joshuar500 avatar Aug 07 '16 05:08 joshuar500

Look that : https://github.com/maximepvrt/angular-google-gapi/blob/gh-pages/app/app.js

maximepvrt avatar Aug 21 '16 20:08 maximepvrt

Hi, I am trying this demo on the localhost. While adding a new contact, on clicking "Add" button, it's not going further and I don't see any contacts on home page. In controller.add.js file, the control doesn't go to $state.go('home'); line:

_function homeCtl($scope, GApi, $state) {
    $scope.submitAdd = function() {
        GApi.executeAuth('myContactApi', 'contact.add', $scope.contact).then(function(resp) {
            $state.go('home');
        });

BTW, I have downloaded js and html files from app and partial folders. I didn't downloaded files from bower-components folder and using from the standard distribution. Did you override any files into that folder ?

Appreciate any help on this. Thanks in advance.

sankulka avatar Sep 22 '16 12:09 sankulka