[SOLVED] Custom widget and settings

Dear, I’m writing a custom widget, but I don’t understand how I must use an “Item setting” into “ng-init” attribute. In a case I use this code line:

ng-if="itemValue(config.power_item)=='ON'"

and it works, but I If I use

<div ng-init='SamsungAC_Power={
        						"name": "Stato",
                    "sizeX": 1,
                    "sizeY": 1,
                    "item": "itemValue(config.power_item)",
                    "type": "switch",
                    "hidelabel": false,
                    "hideonoff": false,
                    "iconset": "smarthome-set",
                    "icon": "power-button",
                    "icon_size": "32",
                    "row": 4,
                    "col": 1
                      }'  ng-style="{opacity: 1.0}">
        				<widget-switch ng-model="SamsungAC_Power"></widget-switch>
      		</div>

my “config.power_item” doesn’t work. I have tried also:

<div ng-init='SamsungAC_Power={
        						"name": "Stato",
                    "sizeX": 1,
                    "sizeY": 1,
                    "item": "config.power_item",
                    "type": "switch",
                    "hidelabel": false,
                    "hideonoff": false,
                    "iconset": "smarthome-set",
                    "icon": "power-button",
                    "icon_size": "32",
                    "row": 4,
                    "col": 1
                      }'  ng-style="{opacity: 1.0}">
        				<widget-switch ng-model="SamsungAC_Power"></widget-switch>
      		</div>

without success…
Can you help me, please?

Thanks

"item": config.power_item without the quotes! )

I thought I had tried them all, even this one, but obviously not.
Thank you