<! DOCTYPE html>"Content-type"Content="text/html; Charset=utf-8"><title> Untitled Document </title><script src="Angular.min.js"></script><script>//Angular.bind (); $.proxy (): Change this to point tofunction Show (N1,N2) {alert (N1); Alert (n2); Alert ( This);} Angular.bind (Document,show,3)(4);//change the this point of the show function,//angular.copy (); //Copying ObjectsvarA = {name:'Hello'};varb = {age:' -'};varc = Angular.copy (A, b);//A put all the values to BConsole.log (b);//Angular.extend (); //Object InheritancevarA ={name:'Hello'};varb ={age:' -'};varc = Angular.extend (b,a);//C hasConsole.log (b);</script><! DOCTYPE html>"Content-type"Content="text/html; Charset=utf-8"><title> Untitled Document </title><script src="Jquery-1.11.1.js"></script><script src="Angular.min.js"></script><script>varA =[];console.log (Angular.isarray (a));//is not an arrayWindow.onload =function () {Console.log (Angular.iselement (document.body)); Console.log (Angular.iselement ($ (document.body));}; Console.log (angular.version);varA =NaN;varb =Nan;console.log (Angular.equals (A, b));varvalues = ['a','b','C'];varValues = {'name':'Hello',' Age':' -'};varresult =[];angular.foreach (Values,function (value,i) {console.log (value); Console.log (i); This. push (value + i);//This is the result},result); Console.log (result);//Json.parse () json.stringify ( )varstr ='{"name": "Hello", "Age": "}"}';varJSON =Angular.fromjson (str); Console.log (JSON);varJSON = {"name":"Hello"," Age":" -"};varstr = Angular.tojson (JSON,true); Console.log (str);//Angular.identity/noopvarstr ='Hello'; Console.log (angular.identity (str)); //Hellofunction Identity (str) {returnstr;} Console.log (Angular.noop ()); //undefinedfunction NoOp () {}console.log (Angular.uppercase ('Hello'));</script>"Div1">aaaaaaaa</div><script>varOdiv = document.getElementById ('Div1');$('#div1'). CSS ('background','Red');//Angular.element = = = $</script></body><! DOCTYPE Html>"Content-type"Content="text/html; Charset=utf-8"><title> Untitled Document </title><script src="Angular.min.js"></script><script>varM1 = Angular.module ('MyApp1',[]);varM2 = Angular.module ('myApp2', []); M1.controller ('Aaa',['$scope', function ($scope) {//defines the functions of the AAA controller,$scope. Name ='Hello';}]); M2.controller ('BBB',['$scope', Function ($scope) {$scope. Name='Hi';}]); Document.onclick=function () {varAdiv = document.getElementsByTagName ('Div'); Angular.bootstrap (adiv[0],['MyApp1']); Angular.bootstrap (adiv[1],['myApp2']);};</script>"Aaa"> <p>{{name}}</p></div><div ng-controller="BBB"> <p>{{name}}</p></div></body><! DOCTYPE html>"Content-type"Content="text/html; Charset=utf-8"><title> Untitled Document </title><script src="Angular.min.js"></script><script>function Aaa ($scope, $timeout) {$scope. Name='Hello'; SetTimeout (function () {//$scope. Name = ' Hi ';$scope. $apply (function () {//$apply useful for data changes$scope. Name ='Hi'; }); }, -); $timeout (function () {$scope. Name='Hi'; }, -); $scope. Show=function () {$scope. Name='Hi'; }; }</script>"Aaa"ng-click="name= ' Hi '">--><div ng-controller="Aaa"ng-click="Show ()"> <p>{{name}}</p></div></body><! DOCTYPE html>"myApp">"Content-type"Content="text/html; Charset=utf-8"><title> Untitled Document </title><script src="Angular.min.js"></script><script>varM1 = Angular.module ('myApp',[]);/*m1.controller (' Aaa ', [' $scope ', function ($scope) {///controller $scope. Name = ' Hello ';}]); M1.controller (' Bbb ', [' $scope ', function ($scope) {$scope. name = ' Hi ';}]);*/M1.run (['$rootScope', function ($rootScope) {//$rootScope. Name ='Hello';}]); Console.log (M1);</script>Angularjs Tool Methods