为什么这样写指令不能改变控制器的属性值:
请大家帮忙看下,,谢谢
You try not to use custom instructions, use ng-click
I didn’t get the offsetWidth. Please type out the value and see. I tried it here and it’s undefined
You try not to use custom instructions, use ng-click
I didn’t get the offsetWidth. Please type out the value and see. I tried it here and it’s undefined