Templating
Data Binding
Dependency Injection
Modules
Views
Controllers
Services
Promises
Filters
Directives
Animations
Routing
Interaction with server
Testing
Localization and Internalization
<!DOCTYPE html> <html> <head> <title>AngularJS Binding</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.5/angular.min.js"></script> </head> <body> <div ng-app> </div> </body> </html>
<div ng-app> <h1>Binding</h1> <input type="text" ng-model="message"> <p>{{ message }}</p> <p ng-bind="message + message"></p> <!-- ng-bind directive --> <p ng-bind="::message === 'hello'"></p> <!-- One time binding --> <p>{{ 1 + 2 }}</p> </div>
By Alex Bardanov