Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.1.3/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body ng-controller="MainCtrl">
  
  數量: <input type="number" ng-model="quantity" ng-init="quantity = 1">
  <br>
  單價: <input type="number" ng-model="price" ng-init="price = 299">
  <br>
  總價: <span ng-bind="quantity * price">...計算中...</span>
  
  <br>
  
  <span ng-bind-html-unsafe="HtmlString"></span>
  
</body>
</html>
 
function MainCtrl($scope)
{
  $scope.Title = 'CTO';
  $scope.Name = 'Will Huang';
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
willhpro
0viewers