私は2つのAngular NVD3 Appsを実装して、HTMLページで2つのグラフを表示しています。私は、ng-appの代わりにng-modulesを使って両方を実装することができると読んだが、何とか動作していない。私たちを手伝ってくれますか?複数の角型JSアプリケーション
<div ng-modules="temperatureChart" ng-controller="temperatureCtrl">
<nvd3 options="options" data="data" class="with-3d-shadow with-transitions"></nvd3>
<br><a href="http://krispo.github.io/angular-nvd3/" target="_blank" style="float: right;">See more</a>
</div>
<div ng-modules="heatcounterChart" ng-controller="heatingCtrl">
<nvd3 options="options" data="data" class="with-3d-shadow with-transitions"></nvd3>
<br><a href="http://krispo.github.io/angular-nvd3/" target="_blank" style="float: right;">See more</a>
</div>
これは私が試した方法ですが、動作しません。
'NG-modules'は何ですか? – zeroflagL
"ng-appの代わりにng-modulesを使って両方を実装することができます。 **あなたはこれをどこで読んだのですか?これは一般的な知識ではないようです.... – Claies