Update home.js

Updated to ui-router