cordovaでAngular1を用いてハイブリッドアプリを作ってます。
エミュレータで動かしたところ完璧にうまく動作していたのですが、実機にするとng-repeatの部分がうまくいきません。
ng-repeatを使わずにかけばうまくいきます。
エミュレータではうまくいくのに実機ではうまくいかないのはなぜでしょうか・・・?
どのように治せますでしょうか。
お願いします!!
ちなみに、コードはこんな感じです
html
1<ons-list-item modifier="chevron" class="item" ng-repeat="collection in collections" ng-click="selectCollection(collection.id)"> 2 <ons-row> 3 <ons-col width="60px"> 4 <div class="item-thum"></div> 5 </ons-col> 6 <ons-col> 7 <header> 8 <span class="item-title">{{collection.title}}</span> 9 </header> 10 <p class="item-desc">創作者:{{collection.author}}</p> 11 </ons-col> 12 </ons-row> 13 </ons-list-item>
これでエミュレータではうまくいくのですが、実機だとうまくいきませんでした…。
あなたの回答
tips
プレビュー