1.

AngularJS Applications

Answer»

AngularJS Applications
Now we will provide a example which will have 2 thing in it that is modules and controllers. And whta is these 2 things. AngularJS modules define the AngularJS applications. And the 2nd thing that is controllers. AngularJS controllers CONTROL AngularJS applications. We will use ng-app directive which will define the APPLICATION and ng-controller directive will DEFINES the controller.

Now below example will let you KNOW the both 2 things with its definition and using



AngularJS Application

In above example AngularJS modules define applications.

And AngularJS controller control applictions.

output


AngularJS Application Output



Discussion

No Comment Found