一、定義資源
//資源類型 $scope.status=['項目測試','開發工具','安裝包','工作計划','測試項目','我的游戲','我的音樂','博客首頁圖片'];
二、沒錯直接用 {{$index}} 獲取即可
資源類型:<select style="width: 150px;height: 25px;" ng-model="searchEntity.type" > <option ng-repeat="x in status" value="{{$index}}">{{x}}</option> </select>