As a Developer, we know that Web browser understands HTML. Most of the client side frameworks works on HTML to improve the performance of user experience. Similar way AngularJS also works on HTML tags and its customized directives (ng-app, ng-controller) to render page.
How it works ?
Scope is glue between view and model. Whatever entered information will be updated in syc with Model.
View template:
<!DOCTYPE html>
<html ng-app="helloApp">
<head>
<title>AngularJS - Hello World</title>
<script src="angular.js"></script>
<script src="helloController.js"></script>
</head> <body ng-controller="HelloController">
<input type="text" ng-model="name"> <br />
Hello <strong> {{name}} </strong>
</body>
</html>
Controller:
var helloApp = angular.module('helloApp', []);
helloApp.controller('HelloController', function($scope) {
$scope.name = 'world';
});
Output
Hi I want to talk about one site fantastic best gambling sites there I spend all my free time there I spend all my free time and get a small income
I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
PHP Training in Chennai
PHP Course in Chennai
Web Designing Course in chennai
Hadoop Training in Chennai
German Language Classes in Chennai
PHP Training in Porur
PHP Training in Adyar
Wonderful post about recent updates….
DOT NET Training in Chennai
Hadoop Training in Chennai
Android Training in Chennai
Selenium Training in Chennai
JAVA Training in Chennai
German Classes in chennai
Java training institute in chennai
Click here to get info more.
I really appreciate the writer and the content are very useful. The explanation way is easily understood to all readers and please updating…
Oracle Training in Chennai
Oracle course in Chennai
Tableau Training in Chennai
Spark Training in Chennai
Excel Training in Chennai
Primavera Training in Chennai
Pega Training in Chennai
Unix Training in Chennai
Power BI Training in Chennai
Oracle DBA Training in Chennai
Like!! Great article post.Really thank you! Really Cool.