The local source file for AngularJS is not found -
i practicing basic angularjs examples. main issue have been facing angular.min.js
file saved on desktop not found. tried using file location 1 example @ plunker, works fine.
this location use in code:
<script src="c:\users\abdul hadi\desktop\angular\lib\angular\angular.min.js"></script>
and output this:
{{author.name}} {{author.title + ',' + author.company}}
but when use this, works fine:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script>
you need use file uri scheme (file:///
) load local files.
<script src="file:///c:\users\abdul hadi\desktop\angular\lib\angular\angular.min.js"></script>
i use slashes instead of backslashes , relative path, works anyway.
Comments
Post a Comment