Javascript 51
AngularJS Template Cache PUT & GET Example
AngularJS provides $tempateCache module for caching templates. This module has put() and get() methods to save and retrieve HTML template from the cache. In this Demo, "We will create a simple directive which uses the template cache to load the template […]
Using AngularJS $parse Service
AngularJS provides $parse service to evaluate expression. In a template AngularJS expression are presented in {{ }}.AngularJS uses $parse under the hood to compile link and display the value in the browser. $parse() method returns a function for the given expression context.The value of the context can be changes using assign() method. In this demo, "We […]
Auto and Manual Bootstrapping AngularJS Application
AngularJS application auto-bootstrapped using ngApp directive. ngApp directive designates the root element of the application. Only one application can be bootstrapped per HTML document. To bootstrap any other module inside an application can be done manually using angular.bootstrap() method. In this demo, "We will learn about bootstrapping AngularJS module application using ng-app directive and bootstrap() […]
Introducing Batarang : AngularJS Debugger
Batarang is an AngularJS application debugger for Chrome Browser and available as chrome extension. Batarang can be found in Chrome web store and installed.Below URL points to the Batarang Chrome web store link. batarang chrome link Github project URL of Batarang is listed below. https://github.com/angular/angularjs-batarang […]