[Solved] Uncaught Reference Error: angular is not defined

on Jul 23, 2019 01:15 AM

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
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.

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>