AngularJS Example 2


Type your name in the box and see it appear below, letter by letter as you type.

The name is

The code for the above is shown below. We are using AngularJS.

<div ng-app="" ng-init="firstName='John'">
<p><input type="text" ng-model="firstName"></p>
<p>The name is <span ng-bind="firstName"></span></p>
</div> 

Check out the post AngularJS in your Child Theme. Here show you how to install the AngularJS “library” into a WordPress site with a CDN. It is just one line of code inserted into the header.php file in your WordPress site.

Leave a comment

Your email address will not be published. Required fields are marked *