I am trying to use Type Script + Angular Js.I have declared my controller and interfaces.But when i trying to run my system it will through and error of
Uncaught Error: [$injector:modulerr] Failed to instantiate module .
I have read all but not able to get whats the exact problem is:- I have mentioned my code below:-
My View Page
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"> </script>
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/Customer.New/Scripts/angular.js" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/Customer.New/Scripts/angular.min.js" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/Customer.New/app/app.routes.js" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/Customer.New/app/app.module.js" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/Customer.New/app/Controller/CreateCustomerController.js" />
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/Customer.New/app/Interface/Interface.js" />
<title>Create Customer</title>
</head>
<body>
<div data-ng-app=" CustomerNew">
<div id="page" style="width:90% ! important;" data-ng-controller="CreateCustomerCtrl as custom">
I solved this error byb making changes into the declaration of my ng-app as i have declared my ng-app before my form tag but now i made changes and removed the div declared before form tags and apply it as:-