I am very new to the angularjs. I just started learning. I created simple aspx page but it is not working as expected but if I make same in html page it works. Thing is that when click button counter should increase but it don't work in aspx page but works in html page
So can somebody tell me what be the reason
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="Angular.Default2" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"></script>
</head>
<body ng-app="" ng-init="hour=13">
<form id="form1" runat="server">
<div ng-controller="myController">
<button ng-click="count = count + 1">Click me!</button>
<p>{{ count }}</p>
</div>
<script>
function myController($scope) {
$scope.count = 0;
}
</script>
</form>
</body>
</html>
bracketsan IDE to check JS, it was working there, but not in IIS or asp.net website.