Added devices
Added registration devices in controller
Added Angular.js
Fixed sending ON/OFF