[Solved] Uncaught Reference Error: angular is not defined

SUJAYS
 
on Jul 23, 2019 01:15 AM
12745 Views

Uncaught ReferenceError: angular is not defined

Angularjs is not added even when the file is included in Index file.

<script src="~/Scripts/CustomDet.js"></script>
<script src="~/Scripts/AngularJS.js"></script>

 

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Jul 23, 2019 01:52 AM

You had palced your AngularJS script tag after the CustomDet that references AngularJS.

So place the AngularJS script before the CustomDet script.

SUJAYS
 
on Jul 23, 2019 01:57 AM

Local Angularjs is not working so I have inserted online Angular JS

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script src="~/Scripts/CustomerAngular.js"></script>