alarm box based on raspberry Pi and angular.js