Archive

Tag Javascript

How to change AngularJS data outside the scope

Posted on February 18, 2016 by Suresh Kamrushi in Javascript

+14-2 Today I learn how to update scope data outside of controller or app. Angular have $scope.$apply() method which will explicitly update your binded data. …

Bootstrap Event for modal, executing JS before modal popup

Posted on December 10, 2015 by Suresh Kamrushi in PHP

+15-3 Bootstrap provide some event which can be hook on modal functionality. “show.bs.modal” is a event used to hook a function just befor a modal …

Getting latitude and longitude from google maps api

Posted on August 12, 2015 by Suresh Kamrushi in Javascript

+29-19 As a client requirement I need to get latitude and longitude of the user on clicking of map. Google API is the best option …