Angularjs Examples

AJS Examples


AngularJS Expression without ng-app

In this AngularJS expression example you will learn how HTML DOM elements display as it is without ng-app in AngularJS.

Here you can view the output of the example and you can also "try it yourself" by clicking on "Live Demo" button given at the bottom.

Syntax

{{ expression }} 

AngularJS Expression without ng-app Example

<!DOCTYPE html>
<html>  
<head>  <!-- www.techstrikers.com -->
<title>Simple Expression example without ng-app in AngularJS</title>  
<script SRC="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js">  
</script>  
</head>  
<body> 
 <fieldset style="background-color:#DDE4E9;">            
    <legend>AngulerJS Simple Expression without ng-app Example</legend>  
   <b>Expression Result: {{ 12 + 50 }} </b> 
 </fieldset>   
</body>  
</html>