Closed

Ionic Creator with Firebase - $save and $remove not working

I have a test app created in Ionic Creator

The app is linked up to a Firebase database and I can list some database objects/records.

I have written some code to save/update a record and to also delete/remove a record.

The $save and $remove functions run without error but nothing changes in the Firebase database.

$add works perfectly

I have checked the Firebase rules and both read and write are set to true.

Here is my code for the Firebase service named "Checklist"

[url removed, login to view]('checklist', ['firebase'])

.service('Checklist', ['$firebaseArray', function($firebaseArray){

var ref = [url removed, login to view]().ref().child('CheckList');

var items = $firebaseArray(ref);

var checklist = {

'items': items,

addItem: function(name){

items.$add({

name: name,

completed: true

});

},

deleteItem: function(item){

items.$remove(item);

},

setCompleted: function(item, newV){

[url removed, login to view] = newV;

items.$save(item);

}

}

return checklist;

}]);

Secondly. I need to be able to set an icon image of a list item based on the record's true/false value.

<ion-item class="item-icon-left" ng-repeat="item in items" ng-click="setCompleted({{item}})">

<i class="icon ion-ionic"></i>{{[url removed, login to view]}}

</ion-item>

We can look at this over Skype or GoToMeeting or I could give you access to my Ionic Creator account.

Skills: Angular.js, Ionic Framework, Mobile App Development

See more: ionic and firebase, ionic or phonegap or cordova or react or node or angular or php or html or javascript or jquery, ionic firebase, graffiti creator online save, twilio user verification in ionic firebase, twilio user verification in ionic [firebase], doll creator script save, remove facebook account, working account facebook, joomla save button working, oscommerce remove required account, livejasmin remove memeber account, downloadaccessnet working account, remove getafreelancer account, save corel working, remove livejasmin account, password user live jasmin working account, yahoo account creator working, java create remove bank account, working account expire component joomla, 100 yahoo creator working, remove feedback account getafreelancer, remove logo background save alone, remove pdf creator joomla, free pdf fillable creator save file

About the Employer:
( 5 reviews ) Frisco, United States

Project ID: #15776531

13 freelancers are bidding on average $29 for this job

JinMeng08

Hi, I can help you. I am ready now! Stay tuned, I'm still working on this proposal.

$25 USD in 1 day
(39 Reviews)
5.9
scriptmane

hello sir l'm a web and mobile developer , and i have good experience with mobile development , i will be happy if i can help you with your project , so can you contact me to discuss? thanks Expérience et Compétenc More

$45 USD in 1 day
(19 Reviews)
4.7
$25 USD in 1 day
(15 Reviews)
4.0
Mark98998

Hi, I have gone through your project description and I'm interested to work with you. I'm very passionate about my work and give good quality of work to client. Relevant Skills and Experience I have more than 5+ year More

$55 USD in 1 day
(6 Reviews)
4.1
$25 USD in 1 day
(1 Review)
3.7
mekiho

Hello, I know about your bugs well I am working on big ionic project using firebase as backend So I can fix your bug within 2 hours Please contact me Relevant Skills and Experience Angular.js, Ionic Framework, Mobile More

$25 USD in 1 day
(6 Reviews)
3.5
kemmanuel

Hi, to do a save or remove you need to get the item thanks to its id and then update the object. I would be glad to implement it for you Relevant Skills and Experience I am a mobile developer with 2 years experience u More

$30 USD in 0 days
(5 Reviews)
3.4
harshastudio45

Hi, Task 1. To work on Firebase save/ update code 2. set icon image to true/ false for an Ionic Creator application. I would love for an opportunity to assist you with the same. Relevant Skills and Experience - Ionic More

$30 USD in 1 day
(2 Reviews)
0.9
$25 USD in 1 day
(0 Reviews)
0.0
potenttechno

Hi i am interested in your app. Let me know if you have any questions. Stay tuned, I'm still working on this proposal.

$20 USD in 1 day
(0 Reviews)
0.0
Muazim95

hello , i looked at your instruction for this project and i'm interested with that . based on the experience working my company that i'm handle this for part time job . if you need me just contact me Relevant Skills More

$25 USD in 1 day
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0
datotahost

We have experts on Ionic framework, firebase, Angular-1,2 and 4 Relevant Skills and Experience Ionic, Firebase, Angular Proposed Milestones $25 USD - Ionic

$25 USD in 1 day
(0 Reviews)
0.0