Javascript 51
Implementing AngularJS Anchor Scroll
AngularJS provides $anchorScroll method to to jump to a location with specified id. AngularJS provides $location object with hash() method to replace the current URL with a given key string. $anchorScroll reads the hashed string and looks for the given id and jump to the section. In this demo, "We will implement the anchor scroll […]
Understanding AngularJS Provider
AngularJS has the feature to create provider which act like a factory to provide data to the application. A provider can be defined using provider() function. A provider has to implement $get() method to be used. In this demo, "We will create a fruit name provider which will injected in application configuration and used by […]
Indtroducing Chrome Development Editor
Chrome provides a very light weight development editor.This editor is now in beta version. This editor can be downloaded from below URL. https://chrome.google.com/webstore/detail/chrome-dev-editor-develop In this Demo, “We will explore this Chrome Developer Editor“. Below screenshot shows creating new project popup window. Below screenshot shows the supported project types by this […]
Resolving Polymer ReferenceError Platform is not defined
While coding for Polymer JavaScript library for web component you will face an exception “ReferenceError Platform is not defined”, though all the library are included properly. In this Demo, “We will see How it occurs and its solution “. Below screen shot shows the chrome inspect of loaded HTML of a sample polymer code.You can […]