Monday 6 November 2017

angular is not defined in angularjs

The main reason behind this issue is angular js not defined in your page. 
You are not defined the angular js file and trying to use it. 
To defined in your page just drag and drop either angular.js or angular.min.js file on top and after that paste your any other js file where you wrote your module,controller etc.

example:-
<script type="text/javascript" src="angular.min.js"></script>
<script type="text/javascript" src="test.js"></script>

0 comments:

Post a Comment