AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running single-page
applications. Its goal is to augment browser-based applications with model-view-controller (MVC) capability,
in an effort to make both development and testing easier.
The library reads in HTML that contains additional custom tag attributes; it then obeys the directives in
those custom attributes, and binds input or output parts of the page to a model represented by standard JavaScript
variables. The values of those JavaScript variables can be manually set, or retrieved from static or dynamic JSON
resources.
The latest Angular.js version can be downloaded from:
http://angularjs.org/
AngularJS examples
Information
none
Operating system used
Windows Vista Home Premium SP 2
Software prerequisites
none
1
|
Show message in placeholder using a controller
|
helloworld.html
|
2
|
Enter text in inputboxes and show texts elsewhere in page
|
inputbox.html
|
3
|
Use of $watch and console.log
|
watch_and_console.html
|
4
|
Use of ng-show and ng-hide
|
show_and_hide.html
|
5
|
Use of ng-repeat
|
repeat.html
|
5
|
Use of ng-click and javascript push and splice functions
|
click.html
|
6
|
Use of ng-change
|
change.html
|
7
|
Use of ng-options
|
options.html
|
8
|
Use of modules
|
modules.html
|
9
|
Use of $inject with controller
|
inject.html
|
10
|
Use of $inject with module
|
inject_module.html
|
11
|
Use of routing, ng-view, .module, .config, .controller, $routeProvider, .when, templateUrl, $location, ng-repeat, splice and push
|
contacts_index.html
Codes:
contacts_index.html
contacts_list.html
contacts_edit.html
contacts.js
|
12
|
Use of filters
|
filter.html
|
13
|
Use of .filter
|
create_filter.html
|
14
|
Create directive
Use of .directive, restrict, replace, transclude, template, link and element.bind
|
create_directive.html
|
|
|