Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Online AngularJS Editor

<!doctype html>
<html >
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
     <script>
   
    var app=angular.module("mymodule",[]);
    app.controller("mycontroller",function($scope){
       $scope.name="Sravya";
       $scope.totalvalue=0;
       $scope.displaytotalvalue=function(){
           totalvalue=calculate($scope.name);
       }
        
    });
    
    calculate= function(string){
        var total=0;
        for(int i=0;i<string.length;i++){
            total+= string.charCodeAt(i);
        }
        
        return total;
    }
    
    </script>
  </head>
  <body>
    <div ng-app="mymodule" ng-controller="mycontroller">
      <label>Name:</label>
      <input type="text" ng-model="name" placeholder="Enter a name here" ng-keyup="displaytotalvalue();">
      
      sum up value is :{{totalvalue}}
      
      <h1>Hello {{name}}</h1>
    </div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <!-- calculator js file -->
    
   
    
    </body>
    </html>
    
    
    

Online AngularJS Editor

<!doctype html>
<html>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>
  <body>
    <div ng-app ="" ng-init= "names=['a =['hi','hello']','b','c']"> 
        
        <ul>
            <li ng-repeat="x in names">
                <li ng-repeat="y in x">
                    {{y}} 
                </li>
           
            </li>
        </ul>
    </div>
</body>
</html>

hjhj

<!doctype html>
<html ng-app>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr>
      <h1>Hello {{yourName}}!</h1>
    </div>
  </body>
</html>

hello

<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body>

<div ng-app="">
 
<p>Input something in the input box:</p>
<p>Name : <input type="text" ng-model="name" placeholder="Enter name here"></p>
<h1>Hello {{name}}</h1>

</div>

</body>
</html>

Online AngularJS Editor

<!doctype html>
<html>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js">
    </script>
  </head>
  <body>
    <div ng-app="testApp" ng-controller="testCtrl">
     {{ title }}
    </div>
    <script>
    var app = angular.module("testApp",[]);
    app.controller("testCtrl",["$scope",function($scope){
        
        $scope.title = "test title";
        
    }]);
    </script>
  </body>
</html>

aaaa

<!DOCTYPE html>
<html ng-app="getbookmarks">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <style>
        body {
            padding-top: 60px;
        }
    </style>
    <title>GetBookmarks : Submit Story</title>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <!--<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>-->
         <!--   <a class="brand" href="#">GetBookmarks</a>-->

        </div>
    </div>
</div>
    

    
<a class="btn btn-primary pull-right" href="#/consulta"><i class="icon-plus-sign icon-white"></i>Consulta de cuentas</a>
<a class="btn btn-primary pull-right" href="#/otros_bancos"><i class="icon-plus-sign icon-white"></i>Transferencia a otros bancos</a>

<div class="container" ng-view>

</div>

<script src="principal/js/jquery-1.9.1.js"></script>
<script src="principal/js/bootstrap.js"></script>
<script src="principal/js/angular.js"></script>
<script src="principal/js/angular-resource.js"></script>
<script src="principal/js/toastr.js"></script>
<script src="principal/controlador/c_index.js"></script>
</body>
</html>

Online AngularJS Editor

<!doctype html>
<html ng-app>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr>
      <h1>Hello {{yourName}}!</h1>
    </div>
  </body>
</html>

Online AngularJS Editor

<!doctype html>
<html ng-app>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr>
      <h1>Hello {{yourName}}!</h1>
    </div>
  </body>
</html>

itstep

<!doctype html>
<html ng-app>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr>
      <h1>Hello {{yourName}}!</h1>
    </div>
  </body>
</html>

Online AngularJS Editor

<!doctype html>
<html ng-app>
  <head>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
  </head>
  <body>
    <div>
      <label>Name:</label>
      <input type="text" ng-model="yourName" placeholder="Enter a name here">
      <hr>
       <label>Roll:</label>
      <input type="text" ng-model="roll" placeholder="Enter roll here">
      <hr>
      <h1>Hello {{yourName}}! with roll {{roll}}</h1>
    </div>
  </body>
</html>

Previous 1 ... 5 6 7 8 9 10 11 ... 64 Next
Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.