AngularJS app to displays details of students and their CGPA

5. Develop AngularJS application that displays a details of students and their CGPA. Allow users to read the number of students and display the count. Note: Student details may be included in the program.


<!DOCTYPE html>
    <title>Student Details Application</title>
        <script type="text/javascript"
            var app=angular.module("studDetailsApp",[]);
            for(var i=1;i<=$scope.num;i++)
            var stud={
    <body ng-app="studDetailsApp">
        <h1>Student Details Application</h1>
        <div ng-controller="studDetailsAppCntrl">
            Enter the Number of Students to Generate the Data: 
            <input type="number" ng-model="num">
            <button ng-click="generateData()">Generate</button>
            <table border="1" ng-show="studData.length>0">
                <tr ng-repeat="student in studData">
            Number of Students={{studData.length}}

Leave a Reply

Your email address will not be published. Required fields are marked *