Angular Js and google api client.js (gapi)

后端 未结 8 1508
不思量自难忘°
不思量自难忘° 2020-11-29 00:46

It took me one day to make it works so I think my experience may be useful from someone. And maybe some others will find improvement.

So I start angularJS two days a

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 01:31

    I used a solution similar to willlma, but my application makes use of UI Router, so there's no knowing which controller will be called.

    I was able to solve this with a Javascript Promise.

    index.html

    
    
        
        
        
    
                                     
                  
提交回复
热议问题