 
 #Services
 module.service('teaSelection', ['$rootScope', ($rootScope) ->
-  self = this
   selection = {
     tea: window.teas[0].name,
     degree: window.degrees[0].name


  this.init = () ->
    if localStorage[CHOSEN_TEA]
      selection = {
        tea: localStorage[CHOSEN_TEA],
        timer: localStorage[CUSTOM_TIMER]
      }
])

CANCEL_TIMEOUT = 10000
CHOSEN_TEA = "chosen_tea"
CUSTOM_TIMER = "custom_timer"
CHOSEN_DEGREE = "chosen_degree"

@module = angular.module('tea', [])

