Skip to content Skip to sidebar Skip to footer

What File Path Would I Use With Ng-include?

My angular project's path is like this web server.py ##flask server program app static app.js controllers.js etc... temp

Solution 1:

The src attribute of ng-include expects a string. Either you pass a scope variable, or pass string directly.

<ng-include src=" 'templates/home.html' "></ng-include>

Post a Comment for "What File Path Would I Use With Ng-include?"