In my application, there exists a single page named index.html
. This particular page serves as the main hub within the application where I load my partials.
Displayed below is the content of Index.html
:
<body>
<div id="view" ui-view></div>
</body>
I am aiming to insert a Partial into this existing setup and subsequently add another partial within that newly added one.
The specific partial I aim to introduce is known as dashboard.html
, which should be triggered upon hitting the /dashboard
route. Following this, I intend to incorporate an additional partial into the UI-View
residing within dashboard.html
.
For this process to transpire successfully, which other details would be required from my end?
EDIT:
.state('dashboard', {
url: '/dashboard',
templateUrl: 'partials/dashboard.html',
controller: 'dashboard'
})
.state('dashboard.item', {
//url: '/dashboard/calender',
templateUrl: 'partials/calender.html',
controller: 'aceTrackerDash'
})