@ashraftushar wrote:
.state('tab.home-detail', { url: '/home/:homeId', views: { 'tab-home': { templateUrl: 'templates/home-detail**:homeId**.html', controller: 'HomeDetailCtrl' } }
})
I want to make tymplateUrl dynamic. So that when :homeId=01 then templateUrl will be 'template/home-detail01.html' when :homeId is 05 then templateUrl will be 'template/home-detail05.html'
How can I do that. In the above code I tried, but did not get result. Plz help
Posts: 1
Participants: 1