Last active
March 14, 2017 12:49
-
-
Save dyaa/60846feedbb1ce8ca509eb72178fc169 to your computer and use it in GitHub Desktop.
AngularFire2 - Push list item with $key | Ref. https://github.com/angular/angularfire2/issues/712#issuecomment-270098889
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let newKey = new Date().getTime(); | |
| let list = af.database.object(`/items/${newKey}`).set({ name: 'Test' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment