0
ionicスクリプトテンプレートでsrcにscriptタグを使用する方法イオンスクリプトテンプレートでsrcにscriptタグを使用するにはどうすればいいですか?
私は
$scope.$on("$ionicView.loaded", function() {
console.log($state);
document.onclick = function (e) {
e = e || window.event;
var element = e.target || e.srcElement;
if (element.tagName == 'A') {
window.open(element.href, "_system", "location=yes");
return false; // prevent default action and stop event propagation
}
};
});
、現在これを使用してイム、私も知りたいのですが、スクリプトテンプレートで私のアプリが、スクリプトのdoesntの仕事に別のウェブサイトから
<script id="templates/match.html" type="text/ng-template">
<script src='http://**'></script>
</script>