Posts

Showing posts from January, 2019

Angular JS 1.5

Reference: https://docs.angularjs.org/api/ng Reference: https://scotch.io/tutorials/angularjs-1-x-fundamentals-part-1 AngularJS  is an open source JavaScript MVC framework for web application or web sites. It extends the HTML and makes it dynamic. AngularJS can be used to create Single Page Applications. It extends the ability of HTML by adding built-in attributes and components and also provides an ability to create custom attributes using simple JavaScript. Reference:  https://angularjs.org/ $scope.apply() and $scope.digest() Reference: https://www.sitepoint.com/understanding-angulars-apply-digest/ https://www.tutlane.com/tutorial/angularjs/angularjs-watch-digest-and-apply-functions AngularJs $apply() function In angularjs the  $apply()  function is used to evaluate expressions outside of angularjs context (like browser DOM events, setTimeout, XHR or third party libraries). Generally in angularjs once  $apply()  function execution finishes forcefully it will