AngularJs Tutorials
Important News
What is Angularjs?
AngularJS is an open source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. It is now maintained by Google. Its latest version is 1.7.9.
AngularJS is a structural framework for dynamic web apps. Angular's data binding and dependency injection eliminate much of the code you currently have to write. And it all happens within the browser, making it an ideal partner with any server technology.
Features :-
Core Features
File name : index.php
Data-binding:It is the automatic synchronization of data between model and view components.
Scope:These are objects that refer to the model. They act as a glue between controller and view.
Controller:These are Javascript functions that are bound to a particular scope.
Services:AngularJS come with several built-in services for example $http to make a XMLHttpRequests. These are singleton objects which are instantiated only once in app.
Filters:These select a subset of items from an array and returns a new array.
Directives:Directives are markers on DOM elements (such as elements, attributes, css, and more). These can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives (ngBind, ngModel...)
Templates:These are the rendered view with information from the controller and model. These can be a single file (like index.html) or multiple views in one page using "partials".
Routing:It is concept of switching views.
Advantages :-
How to add Angularjs library.
File name : index.php
when you open the link http://angularjs.org/, you will see there are two options to download AngularJS library:
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.17/angular.min.js">
</script>
</head>
<head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> </head>