title: C#, .net 4.5 and angularjs
body: <p>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</p>
  
  <p>So can somebody tell me what be the reason</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="Angular.Default2" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body ng-app="" ng-init="hour=13"&gt;
    &lt;form id="form1" runat="server"&gt;
  &lt;div ng-controller="myController"&gt;
    &lt;button ng-click="count = count + 1"&gt;Click me!&lt;/button&gt;
    &lt;p&gt;{{ count }}&lt;/p&gt;
  &lt;/div&gt;
  &lt;script&gt;
    function myController($scope) {
      $scope.count = 0;
    }
  &lt;/script&gt;
    &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>