Seeking guidance on structuring a small AngularJS application for a simple stock charts app. As a seasoned developer but new to AngularJS, I am looking for the best approach.
App Overview
- The app includes a left-hand "nav" bar for adding and selecting stock codes.
- A right-hand viewing area displays the chart of the selected code.
- Each time a new code is selected, an API call fetches data for display in the chart.
Initial Approach
- Separate controller for the left-hand nav/select bar.
- Implement ng-view with ngRoute provider for updating the chart window based on URL (e.g. #/stockcode).
Is this considered the proper "angular way" to build this app? Are there alternative methods you would suggest?
I encountered formatting issues when using bootstrap CSS with the ng-view directive inside a bootstrap column. Any tips on resolving this would be greatly appreciated.