angular app conventions in separation of concerns