像ngIf,ngClass,ngStyle这样的指令在延迟加载的组件中不起作用(在Angular 9中引入)。core.js:12626 Can't bind to 'xxx' since it isn't a known property of 'xxx'.我设法让它工作的唯一绑定是:[style.color]="color"。只要没有绑定或者只有[style.color
是否可以按需加载延迟并包含模块以满足其他模块的需求?就像这样:app.controller('myController',['$scope',function($scope){//like if it were loaded initially: myApp=angular.module('myApp',['anotherM