.

angular.modules

(function () {
    var orig = angular.module;
    angular.modules = [];
    angular.module = function () {
        var args = Array.prototype.slice.call(arguments);
        if (arguments.length > 1) {
            angular.modules.push(arguments[0]);
        }
        return orig.apply(null, args);
    }
})();

//usage:  angular.modules

Hello World of AngularJS

This is the simplest test to see if AngularJS is working correctly.

<script src="http://code.angularjs.org/1.0.5/angular.js"></script>

<div ng-app>
    Name: <input type=text ng-model="name">
    <br>
    Current user's name: {{name}}
</div>

and the following is a script test call:

<script language="javascript">
    if (typeof angular == 'undefined') {
        alert('AngularJS not available');
    }
</script>

Angular JS simplified

angular-demo

https://www.youtube.com/watch?v=i9MHigUZKEM