خرید بک لینک

Vote count: 0

I have some code for retrieving data from Firebase Data that looks like the following. However this doesnt seem to work for me. I have more code to do other stuff. With this code added, I seem to be hitting an issue. Any ideas ?

(function(){
var app = angular.module('test', [
    'firebase'
]);

app.controller('TestController', ['$http', '$scope','$firebaseArray', '$firebaseObject', '$firebaseAuth',
    function($http, $scope, $firebaseArray, $firebaseObject, $firebaseAuth)
{

 //trying to get products from firebase
    var url = 'https://*test1.firebaseio.com/Products';
    var fireRef = new Firebase(url);

    // Bind the todos to the firebase provider.
    $scope.products = $firebaseArray(fireRef);  
} ]);
})();

asked 48 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 3 مرداد 1395 ساعت: 12:28

صفحه بندی