2013-06-05 12 views

答えて

7

ng-ifのみ利用可能で、角度1.1.5以降です。 Angularバージョンをアップグレードするか、代わりにng-showを使用してください:

<p data-ng-show="$index > 1"> 
    <a href="#">This button will only show when index is more than 1</a> 
</p> 
+0

または、「ui-if」と他の多くの機能があるAngularUIを使用してください。 – rewritten

関連する問題