Expression with hardcoded string

Description

The following code shows how to use expression with hardcoded string.

Example


<!DOCTYPE html>
<html ng-app>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js"></script>
</head><!--   ww w . j av a2 s.co  m-->
<body>
<h1>{{"First example of binding"}}</h1>
</body>
</html>

Click to view the demo





















Home »
  AngularJS »
    AngularJS Example »




Controller
Directives
Expression
Filter
Form
Inject
Scope
Server
Style
Template
Utilities