onclickの内{{値を}}解析するにはどうすればこの角度JS HTMLを持っている:イオン/アンギュラJS -
<ion-view view-title="Articol">
<ion-content class="padding">
<img ng-src="{{article.image}}">
<h2>{{article.title}}</h2>
<p>{{article.published}}</p>
<p ng-bind-html="article.text"></p>
<p>
<button onclick="window.plugins.socialsharing.shareViaFacebook(null /* msg */, null /* img */, '{{article.url}}')">Facebook</button>
<button onclick="window.plugins.socialsharing.shareViaTwitter(null /* msg */, null /* img */, '{{article.url}}')">Twitter</button>
</p>
</ion-content>
</ion-view>
すべてがonclick=""
内部{{article.url}}
正常に動作していないが。私が<p></p>
の中に{{article.url}}
を置くとうまくいきます。 どうすればこの問題を解決できますか?
なぜ "ng-click"を使用しないのですか? – katmanco
上記のコードに基づいて私に例を挙げてもらえますか? – Andrei