Currently, I'm attempting to tackle a common task that I've yet to encounter an example of.
Display 1 and Control 1 :
In this view, there is a basic textbox with ng-model="searchTerm" and ngSubmit event. After the user enters their search term, a webservice call is made to retrieve results for display on the next screen.
Display 2 and Control 2
Upon hitting submit, the view transitions to a results screen where the data fetched from the webservice is shown.
1) What would be the typical method for visually changing screens in this scenario - employing routing and view manipulation? Or is it better to use ng-show/ng-hide?
2) How can I effectively pass the search term from control 1 to control 2?