I am using the timer found here:
http://siddii.github.io/angular-timer/
I am attempting to connect to my firebase and obtain a start_time. The timestamp is correct. I believe that it has to do with the fact that the timer is starting before the firebase info is injected into the view, so I've tried to account for that in the controller:
firebase.$loaded().then(function() {
function startTimer(){
$scope.$broadcast('timer-start');
$scope.timerRunning = true;
};
startTimer();
});
My view looks like:
<timer autostart="false" start-time="firebase.table26.seated_time" >{{hours}}:{{minutes}}:{{seconds}}</timer>
It does appear to be waiting until firebase loads appropriately, but the timer just starts at 0. Assigning the variable to start-time manually works...and calling {{firebase.table26.seated_time}} from the view also works as expected.