Hi I am getting the following error:
Error : Cannot find module with name "my".
And also
Multiple annotations found at this line:-
Cannot find module with name my. Cannot find module with name my. Cannot find controller with name mycontroller
Please help. Thanks But I am able to run the code perfectly though the error exists.
My code is as below:
<!DOCTYPE html>
<html ng-app="my">
<head>
<script src="angular.js"></script>
<script>
    var validation = angular.module('my', []);
    validation.controller('mycontroller' , function($scope) {
        $scope.firstName = "madhuri";
        $scope.email = "madhuri@gmail.com";
        $scope.age = "24";
        $scope.pattern = /^\d*$/;
    });
</script>
</head>
<body >
    <div ng-controller="mycontroller">
        <form name="form1">
            <label>Name :</label> <input type="text" name="name" ng-model="firstName" required> 
            <span style="color: red" ng-show="form1.name.$error.required"> please provide the name</span> 
            <br> 
            <br> 
            <label>Email: </label> <input type="email"
                name="email" ng-model="email"> 
            <span style="color: red" ng-show="form1.email.$error.email"> please provide the valid email address </span>
             <p style= "color: red" ng-show="form1.email.$error.email">please provide the valid email address</p>
            <label>age :</label> 
            <input type="text" name="age" ng-model="age" ng-pattern="pattern">
             <span style="color: red" ng-show="form1.age.$error.pattern"> please provide the correct age
            </span>
        </form>
    </div>
</body>
</html> -->`

 
     
    