Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is difference between $window and window in AngularJS?



What is difference between $window and window in AngularJS?..

Answer / chaitanya

$window is an Angular service which reference to the browser's window object. The window object is globally available in JavaScript; it causes testability problems, because it is a global variable. Angular refer to it through the $window service, so that it can be overridden, removed or mocked for testing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What’s the difference between http and httpclient?

0 Answers  


What are the difference between angular 6 and angular 7?

0 Answers  


What is token based authentication in angular 4?

0 Answers  


Difference between directive and pipe in angular?

0 Answers  


What is the difference between $http and $resource?

1 Answers  


What is a directive question?

0 Answers  


What are AngularJS features?

1 Answers   SLK Software,


What are filters? Explain different filters provided by angularjs?

0 Answers  


Explain what is angular expression? Explain what is key difference between angular expressions and javascript expressions?

0 Answers  


What is 'no control flow statements' in angularjs?

0 Answers  


Explain $scope in angular?

0 Answers  


What are the attributes which can be used during the creation of a new angularjs directives?

0 Answers  


Categories