FAQ Database Discussion Community


Firebase: $save to Not Yet Created Object

javascript,angularjs,firebase,angularfire
I'm trying to figure out how to save the result of a serviceId to a services object on a parent called provider1, when the services object is yet to be created. My Firebase data looks like this: "providers" : { "provider1" : { "name" : "The Whittington Hospital", } }...

Unable to get my data from $firebaseObject using AngularFire in a controller. View/ng-repeat works fine

angularjs,firebase,angularfire
I have different sections in Firebase with normalized data, and I have routines to get the information, but I cannot loop through the returned records to get data. I want to use the keys in the $firebaseArray() to get data from other $firebaseObject(). GetOneTeam() .... { var DataRef = GetFireBaseObject.DataURL(Node...

Error: error:unpr Unknown Provider after updating Angular Fire from 0.0.0 to 0.9.2

angularjs,firebase,angularfire
My AngularJS app was working fine before updating Angular Fire from 0.0.0 to 0.9.2. and now I'm getting this nasty Unknown Provider error I am using Angular 1.3.0 and Firebase 2.1.2. Why is this happening?...

Can I add new data when I retrieve my data as an angularfire $firebaseObject to my database or only change/remove data?

angularjs,firebase,angularfire
I am learning Angularfire and I have lot of questions, but one that is really bugging me is the following. I have read on a lot of different sites (including Firebase.com) on how to retrieve data from a firebase and they make all make a difference between giving back your...

firebase auth android_assets 404 file missing

cordova,firebase,angularfire,ionic
I am using Ionic + Angular + Firebase + Cordova to build a mobile app. I have setup Firebase to use the built in authentication and it all works fine except I keep getting this error. GET file:///android_asset/www/%7B%7Blogin.img%7D%7D ionic.bundle.js:11457 I have not used a file with this name, it looks...

Getting an object array length inside an firebaseArray with AngularFire

angularjs,firebase,angularfire
I have an Firebase structure like this: Chatrooms { -efsCsTB95 { Messages { -bdre3G5 { Title: ... } -wer23bd { Title: ... } } } } I have a view like this: <div class="card" ng-repeat="list in chatrooms"> <div class="item item-positive item-text-wrap"> {{list.videoTitle}} </div> <div class="item item-stable"> <div class="card-footer text-right"> <i...

Firebase - Object vs Array and Returning a .key()

javascript,arrays,object,firebase,angularfire
I'm using firebase + angularfire for a project that involves multiple users editing data at the same time (which would make an object ideal) as well as the need to quickly sort and filter the data on the fly (ideal for an array). So, would it be better for me...

Cannot delete element using AngularFire $remove()

angularjs,firebase,angularfire
I am attempting to remove an item (round) from my DB. I can console.log the $id but when I try to roundsList.$remove(round.id) it does not do anything. I am, once again, thoroughly confused... JS: .controller('RoundsCtrl', ['$scope', '$firebase', 'FBURL', function ($scope, $firebase, FBURL, url) { var roundsRef = new Firebase(FBURL +...

Firebase $save doesn't work inside an event handler function

angularjs,firebase,angularfire
I must be missing something really basic. I have an input box where the list name is entered. The name is then saved to the Firebase. When using $watch, it works just fine. However, if done through ng-keyup event, it returns the following error TypeError: undefined is not a function....

Using Ionic - Cannot get Firebase to load properly - Error: Module 'firebase' is not available

javascript,angularjs,firebase,ionic,angularfire
I have looked at the following questions and have not been able to find an effective solution, hence I am posting another question. Ionic + firebase, error Module 'firebase' is not available Firebase, AngularFire Error: Module firebase is not available Angularfire 'Firebase' is not defined I am very much a...

How to bind objects to firebase inside an array?

angularjs,firebase,angularfire
When you have an array of objects, how do you go about binding the changes of an object to firebase? data looks like this: [{ title: "Do Something", Due: "1425121200000", assignedTo: "Bill", description: "Do something", $id: wqejkkjebiewdf}, { title: "Do Something else", Due: "1425121200000", assignedTo: "Jim", description: "Do something else",...

$firebaseArray child records don't have IDs on their child nodes

javascript,angularjs,firebase,angularfire
I'm making a modded version of the angular-fire todo list. This modification includes making sublists and sublists of sublists. My problem is that when I add my first level of sublists, the sub-objects don't have the $id that I need to affix a next level of sublist. They don't appear...

How to loop through $firebaseArray

angularjs,firebase,angularfire
I created an array of users like so - var ref = new Firebase(FIREBASE_URL + '/users'); var users = $firebaseArray(ref); I have added objects to this and I want to loop through each of the users in this array. I know this is possible in the view using ng-repeat, but...

Firebase AngularFire .key() method producing TypeError

angularjs,firebase,angularfire
I'm going through the AngularFire Guide https://www.firebase.com/docs/web/libraries/angular/guide.html#section-basics and when I try to run the example code var app = angular.module("sampleApp", ["firebase"]); app.controller("SampleController", function($scope, $firebase) { var ref = new Firebase("https://<your-firebase>.firebaseio.com/"); var sync = $firebase(ref); sync.$set({foo: "bar"}); sync.$push({hello: "world"}).then(function(newChildRef) { console.log("added record with id " + newChildRef.key()); }); }); I am...

Try/catch block not handling the error that occurs

javascript,angularjs,try-catch,angularfire
This try catch block doesn't seem to catch the error that occurs, which is strange, considering I have a similar try catch block for the registration part of the site. This handles the login. The error occurs at the third line email: $scope.authInfo.email and throws this error: Error: Firebase.authWithPassword failed:...

Getting Websocket Failure when trying to anonymously authenticate user using AngularFire

angularjs,firebase,angularfire
I am trying to anonymously authenticate users using AngularFire. I want to authenticate a user only once (so, if the user has already been authenticated, a new uid won't be generated). When I use the code below, I get a previous_websocket_failure notification. I also get an error in the console...

Firebase ref.once() is mysteriously skipped

angularjs,firebase,angularfire
I have an alarm app using Firebase where, when the user uses it the first time, 3 sample tasks are added to the list and saved to the Firebase. In order to prevent these sample tasks added again, my code is supposed to check the snapshot (representation of data in...

Using .numChildren() in AngularFire

firebase,angularfire
I'm trying to use .numChildren() in AngularFire, but not sure I'm doing it correctly. function getServiceProviders(serviceId) { var serviceProviders = ref.child('services').child(serviceId).child('providers'); return serviceProviders.numChildren(); } I'm getting the following error: TypeError: e.numChildren is not a function Not sure if this is due to me using Browserify, or I'm just trying to...

AngularFire dynamic link component not working

angularjs,firebase,angularfire
I'm building a page which will retrieve data dynamically from a Firebase and utilizes Angular routing to serve a dynamic link. JS: .controller("IdeaCtrl", ['$scope', '$firebase', '$routeParams', function($scope, $firebase, $routeParams) { $scope.idea = { ID: $routeParams.id }; var ref = new Firebase("https://crowdfluttr.firebaseio.com/ideas/" + $scope.idea.ID); ref.on("value", function(snapshot) { console.log(snapshot.val()); var entries =...

Understanding Firebase's rules for user-write, global-read

firebase,angularfire,firebase-security,firebase-authentication
I am building a simple Firebase application with AngularJS. This app authenticates users through Google. Each user has a list of books. Anyone can see books, even if they are not authenticated. Only the creator of a book can edit it. However, individual users need to be able to record...

Getting the user ID of the created user

angularjs,object,firebase,angularfire
I'm using angularfire as backend in my angular app but I need help when it comes to extracting the user ID of the last account that has just been created. Below is an image from the "login and auth" section in the database, this is where the user ID resides....

Asynchronously create an array in angularfire

angularjs,angularfire
I am pretty new to angularfire but I am trying to create an array that is a list of names from a firebase array. When I look at what lists returns it seems to be what I want, so I know the function is working correctly. angular.module('myApp') .factory('QuestionType', function ($firebaseArray,...

AngularFire Firebase email/password authentication gives “Error: This custom Firebase server ('firebaseapp.com') does not support delegated login.”

angularjs,firebase,angularfire
I am trying to get AngularFire user authentication with email/password functioning but am getting errors. The error sent back from the $authWithPassword call is: Error: This custom Firebase server ('firebaseapp.com') does not support delegated login. You can look in the console log of the plunker below to see this message....

Query specific ID's in a firebase year/month/day nest

database-design,nosql,firebase,angularfire
I have some data structured like the following in firebase. My client is built with angularjs + angularfire. 'all_records' is nested like this to split the data up and also as the majority of the querying is time orientated. The 'all_records' nest is equal to: all_records > year > month...

AngularFire pushing to array doesn't work

javascript,arrays,angularjs,firebase,angularfire
I'm developing a contact book application that can have groups with members in them. A member has a name, title, and email but that is not important. I have following controller that has an array of all groups, and an index of which group I'm currently dealing with. Also, there...

Listen for changes on data in Firebase (AngularFire)

javascript,angularjs,firebase,angularfire
Is it possible to listen for Firebase server updates on the DOM in AngularFire? I want to be able to fetch any updates when they are returned from the server to update the values of an array. Basically my problem is that I am using Firebase.ServerValues.TIMESTAMP which is set by...

How to retrieve nested data with Angularjs ng-repeat in Firebase?

javascript,angularjs,firebase,angularfire
I am seriously having a hard time retrieving nested data from Firebase with AngularJS. I try to save data this way in Firebase, btw I am using Angularfire to save and retrieve data from the database. How can I retrieve the value of foo with ng-repeat? I also find that...

Display Length of Array in Firebase

firebase,ionic-framework,ionic,angularfire
Just starting out with Ionic + Firebase and need help. After getting length of array, I want to display its number. Basically trying to get box on screen that constantly shows how many current people are in specific chat room as people move in and out. Got code below from...

Angularfire facebook user_friends

angularjs,facebook,firebase,angularfire
Using facebook authentication with angularFire, I don't see "user_friends" in the Auth object that is returned. ng-click="auth.$authWithOAuthPopup('facebook',{scope:'user_friends'})" This works fine for grabbing the uid, and I see the facebook object which contains the "accessToken", "cachedUserProfile" etc., but no "user_friends". Someone is have a similar issue here with the "email" object:...

Firebase API issue with AngularJS website example project

javascript,angularjs,firebase,angularfire
Beginning to dive into AngularJS so I went to their website, but got stuck on the wire up a backend portion where Angular uses Firebase. The first issue came from the ordering of dependencies: angular.module('project', ['ngRoute', 'firebase']) changed to angular.module('project', ['firebase', 'ngRoute']) But now it's telling my that $add, in...

Pass Firebase Record Key into URL

javascript,angularjs,firebase,angularfire,angular-routing
I'm adding an item to a Firebase array on page1, this is done when the user clicks the "Complete" button. However, I also want to load the next page using ng-route in which the record is retrieved. I'm wanting unique URLs that can be accessed again by the user, this...

orderByChild(), limitTo() not working in my angularjs project.?

angularjs,node.js,firebase,angularfire
I wanted to implement "Querying Data with firebase" whose documentation was given at fallowing link: "https://www.firebase.com/docs/web/guide/retrieving-data.html". I started implementing the code as following: getDetail : function() { var ref = new Firebase("https://dinosaur-facts.firebaseio.com/dinosaurs"); ref.orderByChild("height").on("child_added", function(snapshot) { console.log(snapshot.key() + " was " + snapshot.val().height + " meters tall"); }) }, But, I...

I'm using AngularFire, How can I retrieve this “email”, “uid” data?

angularjs,object,firebase,angularfire
JS CODE var myFirebaseRef = new Firebase('https://blinding-inferno-7068.firebaseio.com/'); var createdUserRef = myFirebaseRef.child('users').child('createdUser'); $scope.users = $firebaseArray(createdUserRef); HTML CODE <ul ng-repeat="user in users"> <li>{{user.uid}}</li> <li>{{user.email}}</li> <li>{{user}}</li> </ul> What I wanted was user.uid and user.email, but those thing didn't come out. So I checked the user object, and these things came out....

AngularJs on-click not firing in base template

javascript,angularjs,firebase,angularfire
I am using AngularJs and Firebase, try to get the Angularfire User Authentication working. But had some problem. So I had an on-click event inside nav that will popup the user auth windows. index.html <ul class="nav navbar-nav navbar-right"> <li><a href="#/">Home</a></li> <li ng-hide="authData"><a href="" ng-click="auth.$authWithOAuthPopup('google')">Login</a></li> <li ng-show="authData"><a href="" ng-click="auth.$unauth()">Logout</a></li> </ul> app.js...

How to do a cascading remove in Angularfire?

angularjs,firebase,angularfire
How do I in the best possible way remove a user and his/her profile (the profile has it's own node with the $uid as the key) in the best way in Firebase? Should I just do a $remove() on the profile and then a $userRemove(), or is there a better...

Automatically logs user in after account creation

angularjs,firebase,angularfire
I have an app where I am using Firebase authentication, I want to know if there is a way to: 1- user doesn't has to log in after the creation of the account 2- user should be logged in automatically after the account creation this is to provide a better...

$scope variable being undefined despite being set inside a $watch function

javascript,angularjs,service,angularfire,watch
I'm trying to insert some things into my Firebase database using a user's uid but it comes out undefined for some reason. Take a look at the code below: The main controller that sets the user's data information (authData) when the page loads: flickrApp.controller('mainCtrl', ['$scope', '$rootScope', '$firebase', 'Auth', 'shared', function($scope,...

.$id retrieves but .name etc doesn't - AngularFire

firebase,angularfire
I am attempting to retrieve data from firabase by getting the $id from routeparams and then syncing as object and retrieving individual pieces of the data with data.(childnamehere). This is successful when retrieving the meta i.e. data.$id but not when retrieving my own data i.e. data.name.. I have reviewed the...

Manage invite codes for registration with Firebase

angularjs,firebase,angularfire,firebase-security,firebasesimplelogin
I am teaching myself AngularJS and Firebase and am developing an app with two user roles A and B. Role B should only be able to register to the site if they have a valid invite code. I am using Firebase as a backend and AngularFire bindings. I have set...

Unable to get a single record as an array from Firebase, but complete list works

angularjs,firebase,angularfire
This Answer did not help which is for something quite similar. I am using angular 1.3.15, with Firebase 2.2.4 and AngularFire 1.1.1. I have a factory to return a reference to the proper Firebase (https://.firebaseio.com angular.module('MyModule') .constant('FIREBASE_URL', 'https://xxxxxxxxx.firebaseio.com/'); angular.module('MyModule') .factory('GetFireBaseObject', function(FIREBASE_URL) { return { BaseURL: function() { return new Firebase(FIREBASE_URL);...

AngularFire $createUser 's promise doesn't return an object containing user data

javascript,angularjs,firebase,angularjs-service,angularfire
According to the documentation the $createUser function, "... returns a promise that is resolved with an object containing user data about the created user" https://www.firebase.com/docs/web/libraries/angular/api.html#angularfire-users-and-authentication-createusercredentials When I use the function (see code below), I can register the user sucessfully but when I read the variable that should contain the UID,...

Angularfire remove items by checkbox

angularjs,checkbox,firebase,angularfire,removeall
I am using Angularfire and I'd like to remove the items by checkbox. And there is a button that can do the "checkAll" and another do the "uncheckAll" HTML <div ng-app="app" ng-controller="Ctrl"> <li ng-repeat="item in newslist"> <input type="checkbox"> {{item.newsTitle}} </li> <br> <button ng-click="checkAll()">check all</button> <button ng-click="uncheckAll()">uncheck all</button> <button ng-click="newslist.$remove(item)">Remove</button> </div>...

“TypeError: undefined is not a function” when trying to push() to Firebase

firebase,angularfire
Upon submission of a form, I want to push that data to my Firebase db and so I'm creating a function to do so (addMeeting). However, upon pressing the button to submit I get the error: TypeError: undefined is not a function at l.$scope.addMeeting (http://localhost:8000/js/controllers/meetings.js:10:12) meetings.js:10:12 is right where my...

Get a child from firebase and use it as a ref

angularjs,firebase,angularfire
Just started learning angular, but i've been making a website with jQuery and am now starting on some apps which hook up to the same firebase as the website. The problem I have is that I can't find a way to get a child property and use it in a...

How do you save a DATE field in Firebase using AngularFire

firebase,angularfire
I have a screen with a DATE field (Start Date) where the user can enter any date <label class="item item-input"> <span class="input-label">Start Date</span> <input type="date" ng-model="currentItem.OpenDate"> </label> I added the following to the Save button's click event console.log("Normal date " + $scope.currentItem.OpenDate); The console shows the following date Normal date...

AngularJS: Uncaught ReferenceError: $rootScope is not defined in run

javascript,angularjs,firebase,angularjs-service,angularfire
I am trying to route all unauthorized traffic to the login page, and am using angularfire to authenticate. Here's all the relevant code. I know most of it is broken, but I'd like to get past this first. The problematic code is: App.js app.run(['$rootScope', '$location', 'AuthenticatorService', function ($rootScope, $location, AuthenticatorService)...

FIREBASE WARNING: set at /users/simplelogin:32 failed: permission_denied

firebase,angularfire
Before in my app I was creating accounts successfully until I put some rules { "rules": { "users": { "$uid": { // grants write access to the owner of this user // account whose uid must exactly match the key ($uid) ".write": "auth !== null && auth.uid === $uid", //...

Loop to update a property in array object in Firebase?

angularjs,firebase,angularfire
I am creating a simple inventory management application using AngularJS, Firebase with AngularFire library. I have a problem when trying to update Unit number when user does Import/Export action. I don't know how to retrieve the id / index of each product when running in a loop. My intention...

What replaced $child method after the 0.8 angularFire update?

object,set,firebase,angularfire
I was trying to set some info in my database using the $child method in angularFire, only to realise that it had been completely removed in the 0.8 version update. I then looked to see what the replacement would be for this by reading this: https://www.firebase.com/blog/2014-07-30-introducing-angularfire-08.html But that didn't shed...

Update Value of Firebase Children

regex,firebase,angularfire
I'm trying to update the "name" on all children of my services item in Firebase, to remove all leading and trailing spaces. I'm using a regex to carry this out, but I can't seem to work out why it isn't working. I'm looping through my services item using .forEach on...

See if number is in Firebase

javascript,jquery,angularjs,firebase,angularfire
So I have a form that registers users, <form class="" ng-submit="vm.passwordRegister()"> <div class="panel panel-default"> <div class="panel-heading"> Register </div> <div class="panel-body"> <div class="form-group"> <input type="text" ng-model="vm.number" class="form-control" placeholder="Client Number" ng-Blur="vm.numberCheck()"/> </div> <div class="form-group"> <input type="text" ng-model="vm.name" class="form-control" placeholder="Your Name" /> </div> <div...

how to make a select query to firebase

angularjs,firebase,angularfire
I am using angularfire. I have my node in firebase /texts/ and it loos like that: { title: 'title', text: 'long text' } In my service i want to get just the title because i want to show a list of the titles and i don't want to load the...

Send Email When Match in Firebase Database

angularjs,email,firebase,server,angularfire
I'm trying to build a web app using AngularJS and Firebase that sends an email to two users that match on certain parameters. The users submit their information first and if there is a match with another person in the database, I want to send an email to both those...

firebaseObject $save() replaces the content of reference

firebase,angularfire
I can't make $save() work (i'm using firebaseObject) var user = new Firebase("URL"); user.name = 'mark'; user.$save(); After this my user's all records are simply replaced by a single name: mark ...

Submit multiple checkbox to firebase

angularjs,firebase,angularfire
I am using Angularfire and I'd like to save data by multiple checkbox. HTML <form role="form" ng-submit="addTask(task)"> <label class="checkbox-inline" ng-repeat="(key, value) in students"> <input type="checkbox" id="{{key}}" value="{{key}}" ng-model="task.student[value.name]">{{value.name}} </label> <button type="submit">Submit</button> </form> JS var ref = new Firebase(FURL); var fbTasks = $firebaseArray(ref.child('tasks')); $scope.addTask = function(task) { fbTasks.$add(task); } This was...

Firebase and angularFire - getting email from Google authentication works with $authWithOAuthPopup but fails with $authWithOAuthRedirect

firebase,angularfire
The following code snippet works, unless the user's browser config (iOS with Chrome, e.g.) sends it to the $authWithOAuthRedirect block - then it fails. And by fails, I mean the $authWithOAuthRedirect method works and the user can approve the authentication, but it fails to send the scope properly to Google,...

Using $loaded with $firebaseObject to update value VS firebase SDK update. Pros and Cons

angularjs,firebase,angularfire
Let's say I have a service deal with Firebase operation: angular.module('myApp').factory('taskOfferService', ['FURL', '$firebaseArray', '$firebaseObject', '$q', 'taskService', taskOfferService]); function taskOfferService(FURL, $firebaseArray, $firebaseObject, $q, taskService) { var ref = new Firebase(FURL); var Offer = { acceptOffer: function(taskId, offerId, runnerId) { var offerRef = ref.child('taskOffers').child(taskId).child(offerId); var taskUpdate = $q.defer(); offerRef.update({accepted: true}, function(error) {...

Get contents of child_added while watching firebaseArray

angularjs,firebase,angularfire,watch
I have a simple private chat, but with different type of messages, so when i send to server json structure I pass message type too. $scope.messages = fireChat.firebaseArray; $scope.addMessage = function(e) { //ADD TO FIREBASE $scope.messages.$add({ uid: $scope.authData.uid, text: $scope.msg, timestamp: Firebase.ServerValue.TIMESTAMP, type: 'msg' }); $scope.msg = ""; //RESET MESSAGE...

Creating and adding to arrays in angularFire / Firebase

arrays,angularjs,firebase,angularfire
I am trying to build an app with angularjs and Firebase similar to a forum for helping my classmates with problems. I also want people to be able to 'reply' to the specific problems the classmates are having, so I create an object with many values in the angularjs factory,...

Have a trouble with using $bindTo twice

javascript,angularjs,firebase,ionic-framework,angularfire
I'm new to AngularJs and now I'm trying to work with Firebase. This is my Firebase data looks like: pavlovdog | ---facebook: "facebook.pavlovdog.com" | ---twitter: "@pavlovdoggy" And my JavaScript code: angular.module('starter.controllers', ['firebase']) .controller('DashCtrl', ['$scope','$firebaseObject','$firebaseArray', function($scope,$firebaseObject,$firebaseArray) { // Syncing to firebase var ref = new Firebase("https://#####.firebaseio.com/pavlovdog/"); var syncObject = $firebaseArray(ref); syncObject.$bindTo($scope,...

Enforcing unique usernames with Firebase simplelogin

angularjs,firebase,angularfire
I have recently followed a tutorial over on Thinkster for creating a web app using Angular and Firebase. The tutorial uses the Firebase simpleLogin method allows a 'profile' to be created that includes a username. Factory: app.factory('Auth', function($firebaseSimpleLogin, $firebase, FIREBASE_URL, $rootScope) { var ref = new Firebase(FIREBASE_URL); var auth =...

Add fields to angularfire programatically and sync with Firebase

javascript,angularjs,firebase,angularfire,firebase-database
Using AngularJS, AngularFire and Firebase, as a new user, I am having trouble with a distributed code base. I am trying to use Factory() often to re-use code and follow best practices for tests. However, I am having trouble adding data to my AngularFire object, and Firebase. Given the following...

Why is my AngularFire push( ) not working?

angularjs,undefined,firebase,angularfire,controllers
I'm trying to learn Angular with Firebase by running through a typical to-do tutorial, but I'm sort of modifying the app as I go. Instead of list of to-dos, I'm actually creating 'Users'. Firebase is set up correctly, pulling object data down from Firebase works as well and I can...

Storing HTML in Firebase (AngularFire), good idea or bad?

javascript,html,angularjs,firebase,angularfire
Is it a good idea to store HTML in Firebase (AngularFire)? I have a website where I am creating an admin site where users can make HTML elements. I want people to save these elements and the order and the content within the elements. So I thought it would be...

generate custom key with $add angularfire

javascript,firebase,angularfire
How can I generate a custom key in array inside angularfire when I add a new record with the $add function. Just look at when the is the comment below in the source code. This is my code below but still get the random key generated by firebase. register :...

Convert AngularFire JSON return integer values to decimal numbers (100 is 1.00) using AngularJS

json,angularjs,ng-grid,angularfire
I am trying to convert data that is returned from a JSON source (Firebase via AngularFire) and have it display as a dollar amount. The data is stored in cents in the future API, which Firebase is pretending to be for early work on the User Interface. I know that...

Display items in reverse order from Firebase in ng-repeat

firebase,ionic-framework,angularfire
My issue is similar to the SO question below Reverse order of items pulled from database in ng-repeat HOWEVER, I am using the following method to bind all the transactions for a specific AccountID var syncObject = $firebaseObject(fb.child("members/" + fbAuth.uid + "/accounts/" + $scope.AccountId)); syncObject.$bindTo($scope, "data"); The difference from the...

firebase angularfire auth process not working

cordova,authentication,firebase,angularfire,ionic
I am creating an Ionic + Angular + Cordova + Firebase app. My firebaseAuth system is working in a Desktop browser (chrome -- chrome dev tools reports the auth data fine and logs the user in), but it fails to work on my Android device(Samsung Galaxy Note2) - Chrome inspect...

Angularfire login with Facebook not recieving extended permissions

angularjs,firebase,angularfire
I had this working perfectly before upgrading to angularfire 0.9 I want to request the user's email address from facebook. Facebook has already granted me permission to ask for this from my users. I am using the code below to login with facebook. It all works perfectly accept that it...

angularFire $asObject doesn't push

firebase,angularfire
I am new to firebase and trying to use the $asObject as in the angulerFire doc. Basically, I have profile as follows below. I use $asObject to update the email. However when I use $save(), it replaces the entire profile with only the email, rather than pushing it to the...

How to disable firebase 3-way data binding

angularjs,firebase,angularfire
I am using angularJS 1.3 with angularfire and firebase. I did create some factories that encapsulate the firebase object, and it works very well. The 3 way data binding is really cool. I am planning to build a large application using firebase for data persistance, but I am facing a...

AngularFire Google OAuth not retrieving the user's email

javascript,angularjs,firebase,angularfire
I want to get the email address from Google OAuth using AngularFire, but on popup, it's not asking for the email permission. This is the code from Firebase Google auth doc var ref = new Firebase("https://<your-firebase>.firebaseio.com"); ref.authWithOAuthPopup("google", function(error, authData) { /* Your Code */ }, { scope: "email" }); It...

Displaying separate data from API in different places on page in Angular

angularjs,angularfire
I have a SPA that will display data from an API in two separate parts of the page. One section displays products and prices. This information will remain on the page. The other section is a basic CRUD view. It allows the user to create new selections, read their selections,...