Vineeta Sharma

AngularJS, Front End Development

Scope in AngularJs Custom Directive

In AngularJs ‘directive’ plays an important role. AngularJs custom directive has many options like replace, scope, transclude etc. Here we will discuss ‘scope’ property. The scope can have 2 types of value: 1.Boolean 2.Object 1. Boolean : When scope’s value is false:- It defaults value. It creates a new scope but just...



Monkey Patching in Javascript

Monkey Patching The Monkey patching is a concept which is used to extend the behavior of a function without changing its original source code. We can add some extra functionality which can work a long with the original functionality(Before or after depends on the use case). The original function may be from third party module or it can...