move angular trail controller to its own file