ngClick never works with ionic

this is whole of the html:
<ion-view title="recor"> <ion-content overflow-scroll="true" padding="true" class="has-header"> <button type="button" class="button" ng-click="recordNew()" >test</button> <button id="page9-button4" type="button" class="button button-stable button-block" ng-click="recordNew()" >complete完成</button> </ion-content> </ion-view>

the botton is in tyep button and not inside label,but just dont work,and here’s the js in controller.js:

.controller('NewScoreCtrl', function($scope) {
    $scope.recordNew = function() {
             //   console.log("拨打:");
            alert("2");
            //$scope.tab = item;
            //Your other logic for soothe
            }
})

no erros or ouptut

I found the porblem,it’s in routes.js,it didn’t connected.