I'm new to Angular2 and I have some thoughts on how i have to bootstrap the application I want to create.
Basically I need to create a simple dashboard with multiple panels. The panels itself is a common object that show some results.
Here is an example model of the panel object (I'm using TS):
name :string;
data: Array<string>;
Here is link of the simple diagram of the structure:
The dashboard component creates 3 panels, passing a set of data to each panel. The panel receive the data from dashboard, run the render() function and show data in his own view.
Is this a right architecture approach?