use restangular for accessing api
let timer directive handle scramble