I'm creating a simple Comment Box web application using Angular 1.0.7.
Introduction to AangularJS
AngularJS is a JavaScript framework. It can be added to an HTML page with a <script> tag. AngularJS extends HTML attributes using Directives and binds the data to the HTML using Expressions.
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
- AngularJS extends HTML with ng-directives.
- The ng-app directive defines an AngularJS application.
- The ng-model directive binds the value of HTML controls (input, select, textarea) to the application data.
- The ng-bind directive binds the application data to the HTML View.
Let's focus on our Comment Box project.

Follow the below steps to create this project.

Follow the below steps to create this project.
Step 1
Add a new web form to your project.
Add a new web form to your project.
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Comments.aspx.cs" Inherits="CommentBox.Comments" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- </div>
- </form>
- </body>
- </html>
Step 2
Add Angular.js and bootstrap cdn links in the head section.
Add Angular.js and bootstrap cdn links in the head section.
- <head runat="server">
- <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
- </head>
Step 3
Define the ng-app directive in the <body> tag.
Define the ng-app directive in the <body> tag.
- <body ng-app>
- </body>

Yuvraj SharmaPosted Jul 3, 2026, 7:22 AM
<a href="https://www.google.com">Google</a>[url=https://www.google.com]Google[/url]