ページに含めたい角度のあるコンポーネントがあります。このコンポーネントのbindingsパラメータをコメント/削除すると、すべてが機能します...なぜですか?
(function () {
angular.module('app').component('detailsComponent1', {
templateUrl: '/RealSuiteApps/RealForm/-1/Details/Component1',
restrict: 'E',
bindings: {
value: "Component1"
},
controllerAs: 'cm',
controller: function () {
this.message = 'Hello from component1';
}
});
})();
バインディングパラメーターを使用したい場合、次のエラーが発生します。
リンク先: https://docs.angularjs.org/error/ $compile/iscp?p0=detailsComponent1&p1=value&p2=Component1&p3=controller%20bindings%20definition
どういう意味ですか ??
ありがとう。