I have two independent components,defined one within the other in HTML. But my second(inner) component does not populate using the template mentioned in the templateUrl property of the inner component.
//first component
angular.module('app').component('toolCtrl', {
templateUrl: '/NFRManagementTools/static/js/templates/toolCtrl.html',
controller: ToolCtrl,
controllerAs: 'vtc',
});
//second coponent
angular.module('app').component('itemsView', {
templateURL: '/NFRManagementTools/static/js/templates/itemsView.html',
controller: ItemsViewCtrl
});
<tool-ctrl>
<items-view></items-view>
<tool-ctrl>