Single Page Application frontend for home automation written in AngularJS