It seems like there might be a couple of issues in your code. First, when initializing the ng-model with the current date using Razor syntax, you should use double curly braces for data binding in AngularJS. Second, ensure that the CheckAvailability function is properly bound to some event, such as a button click. Here's a modified version of your code:
<div class='input-group date'>
<input ng-model="BookedFromDate" type="text" value="{{@DateTime.Now.ToString("dd/MM/yyyy")}}" class="form-control BookedFDate" style="border-width: 0 0 2px 0;">
<span class="input-group-addon">
<i class="font-icon font-icon-calend"></i>
</span>
</div>
<button ng-click="CheckAvailability()">Check Availability</button>
And in your controller:
app.controller('YourController', function($scope) {
$scope.CheckAvailability = function () {
alert("Hello, " + $scope.BookedFromDate);
};
});
Make sure that you have included AngularJS in your project and that the controller is associated with the relevant part of your HTML. Also, ensure that the ng-click directive or some other event binding is correctly set up to trigger the CheckAvailability function.