Muhammed Imran Hussain

LAMP/LEMP, MEAN, Android Developer

(AngularJS) why ngInclude directive not fetching external html fragment?

There may be many reason of not fetching external html fragment. If you followed rules that ngInclude required, the source path is correct and it is not fetching fragment then one of the reason can be the the source path is not quoted correctly.

For example, this does not work

And this works because the path has been single quoted inside of double quotation.

Leave a Reply

Your email address will not be published. Required fields are marked *