我正在使用angular-facebook模塊爲我的應用程序添加Facebook登錄功能。 一般來說,我得到以下錯誤,同時加載頁面: The "fb-root" div has not been created, auto-creating Cannot read property 'appendChild' of null 當我得到這個錯誤的Facebook登錄彈出來空/空或無法登錄。 我的角模
我在我的app.js中有以下代碼。 var app = angular.module("TacoTime", ['ngRoute']);
app.config(['$routeProvider',
function($routeProvider) {
$routeProvider
// route for the home page
.when('/', {