Solar time calculator built with Angular.js