Answers

Question and Answer:

  Home  AngularJS Developer

⟩ What is ng-app, ng-init and ng-model?

☛ ng-app : Initializes application.

☛ ng-model : Binds HTML controls to application data.

☛ ng-Controller : Attaches a controller class to view.

☛ ng-repeat : Bind repeated data HTML elements. Its like a for loop.

☛ ng-if : Bind HTML elements with condition.

☛ ng-show : Used to show the HTML elements.

☛ ng-hide : Used to hide the HTML elements.

☛ ng-class : Used to assign CSS class.

☛ ng-src : Used to pass the URL image etc.

 198 views

More Questions for you: