Edit in JSFiddle

var app = angular.module('test',[]);

app.controller("CtrlA", function($scope) {
      
    $scope.alertver = function(){
     alert('test');   
    }
    
    function deneme(){
    alert('calismaz');
    }
    
   });


<div ng-app="test">
  <div ng-controller="CtrlA">
       <button ng-click="alertver()">Bas</button>
      <button ng-click="deneme()">Çalışmaz</button>
  </div>
</div>