Prev Demo
AngularJS
>
Directives
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> </head> <body> <script> var app = angular.module("app", []) .controller("NormalizeController", function ($scope) { $scope.name = "Sheo Narayan, TechFunda"; }); </script> <div ng-app="app" ng-controller="NormalizeController"> <p ng-bind="name"></p> <p ng:bind="name"></p> <p ng_bind="name"></p> <p data-ng-bind="name"></p> <p x-ng-bind="name"></p> <hr /> <p class="ng-bind: name;"></p> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output