What is AngularJS?

AngularJS is a JavaScript framework to develop high performance web application by simplifying binding JavaScript objects with HTML elements. It provides option to develop client side development using JavaSript in MVC.

How to initialize AngularJS applicaiton data?

By using ng-init directive we can initialize the AngularJS app data.Example

Usagewhen directive restricted for Attribute level (A), then you can use the directive as

<div customdir></div>

But you cannot use it like an elements

<customdir></customdir>

What is the use of ng-repeat directive

We can use ng-repeat directive to repeat the html elements for each item in a collection. For example if you want to display the students list in a table or different coursed in a list element you can use ng-directive.Example