Time tracking app (AngularJs and Rails)