bindings: {
item: '=',
},const ctrl = this;
this.$onInit = function() {
ctrl.item = this.item;
};bindings : {
item: '<'
}
function ctrl() {
const vm = this;
vm.coolVal = this.item * 2;
}bindings: {
item: '<'
},const ctrl = this;
this.$onInit = function() {
console.log(ctrl.item);
};