Archive for July 3rd, 2013

AngularJS Program 1 – Display basic html content


To download the bootstrap.css file – Click Here

To download the angular.js file – Click Here


Double-curly binding is used to write an expressions in AngularJS.

Html-List.html

<!doctype html>
<html lang="en" ng-app>
<head>
<meta charset="utf-8">
<title>My HTML File</title>
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/bootstrap.css">
<script src="lib/angular/angular.js"></script>
</head>
<body>

    <p>Nothing here {{'yet' + '!'}}</p>
    
    <p>1 + 2 = {{ 1 + 2 }}</p>
    

    <p>Total number of phones: 2</p>
    
    <ul>
    
        <li>
        <span>Nexus S</span>
        <p>
        Fast just got faster with Nexus S.
        </p>
        </li>
        

Read more »

Last updated by at .