If at first you don't succeed, call it version 1.0

Contact Me

Sarvesh Kushwaha
Email : sarveshkushwaha@outlook.com

Total Pageviews

Powered by Blogger.

Sunday 17 January 2016

Angular.js for ASP.NET MVC Developers-Basics (Architecture goals and Components)


Angular.Js architecural goals: 

Following is the self explanotry pic :

























  1. Two way Binding : two way binding is basically when 
    • view changes it updates model .
    • model updates it changes view and so on.
  2. Dirty Checking:  Angular defines a concept of a so called digest cycle. This cycle can be considered as a loop, during which Angular checks if there are any changes to all the variables watched by all the $scopes. So if you have $scope.myVar defined in your controller and this variable was marked for being watched, then you are explicitly telling Angular to monitor the changes on myVar in each iteration of the loop. Refernced from stackoverflow.
  3. Dependcy Injection : Encapsulate the code and made code more unit testable.

Angular Components:






















Thanks for reading this blog post.

Interview Questions on Angular from this blog post:


  1. What is two way binding in Angular.js ?
  2. What is role of Controller ?
  3. Where should we put the business logic in Angular.js  ?
  4. What is Dirty Checking in Angular.js  ?


Once again i try to follow the approach write less , learn more !!!! :) :) 

13 comments:

  1. Thanks for sharing your article it will be helpful for me the article is very descriptive please check here node js developer london | php web developer london

    ReplyDelete
  2. It was really a nice article and i was really impressed by reading this AngularJS Online Training

    ReplyDelete
  3. I have been in a search of something like this! Wonderful!

    Thanks & Regards,
    full stack web developer

    ReplyDelete
  4. I’m just always astounded concerning the remarkable things served by you. Some four facts on this page are undeniably the most effective I’ve had.
    Data science Course Training in Chennai | No.1 Data Science Training in Chennai
    RPA Course Training in Chennai | No.1 RPA Training in Chennai

    ReplyDelete
  5. Thank you for sharing your thoughts and knowledge on this topic.
    Mern stack training in hyderabad

    ReplyDelete
  6. Thanks for Sharing this info, it will helps a lot.

    Web Development Company In India

    ReplyDelete