restructure entire app the angular way, edit html working