I've been working on implementing AngularJS includes and have encountered an issue. Here is the code snippet I am using:
<div data-ng-include src="'../templates/footer.html'"></div>
The footer file is located in the templates directory, and it contains the following code:
<footer class="primary-footer">
<div class="copyright"><small>© 2015</small></div>
</footer>
</body>
</html>
Unfortunately, when I load the page, the footer does not display. Upon checking the source, I noticed a 404 error. Could this be due to accessing the wrong directory or is there an issue with my code?