angularfire and firebase integration
merged Omari's timer and spinner with Tong's firebase angularfire additions