use sensorController and a mock of sensorService in index.html