What is the correct syntax of ng-include?

You have to single quote your src string inside of the double quotes:

<div ng-include src=""https://stackoverflow.com/questions/13943471/views/sidepanel.html""></div>

Source

Leave a Comment