A new Module introduces in CSS is CSS3 flexbox to provide a more efficient way to align and distribute space among the list of items in a container with static and dynamic widths. A flexbox container expands items to fill available free space or shrinks them to prevent overflow. Difference Between Grid Layout and CSS3 […]

Read More →

1. Which utility is used to track angular watches/digest cycles and what is the good maximum number of watches/digest cycles should be used on a page to improve performance? ng-status, 1000 ng-stats, 1000 ng-status, 2000 ng-stats, 2000] ng-status, 5000 ng-stats, 5000 Ans: d 2. Where singleton pattern is used in angularjs? directive service dependency injection […]

Read More →

1. Assume current datetime is “Wed Jun 22 2016 12:00:00 GMT+0530 (IST)”. And we have the following code, what will be the output for below code? var a = [], count = 0, max = 3; function runTime() { setTimeout(function() { a.push(new Date()); if (count++ < max) runTime(); }, 1000); } function getDatearray() { runTime(); […]

Read More →

1. What is the output of result1 and result2 ? var person = {‘name’ : ‘sakshi’, ‘obj’ :{‘age’: 24 }}, dest1 = {}, dest2 = {}; angular.copy(person, dest1); angular.extend(person, dest2); var result1 = person.obj === dest1.obj ? false : true; var result2 = person.obj === dest2.obj ? false : true; true, true true, false false, […]

Read More →