AngularJS | Is there any way to remove data-ng-include from AngularJS

260 views Asked by At

I want to remove all data-ng-include tags from my AngulaJS App. I found some answers but none satisfies what I want to do.

I am moving away from AngularJS, and I want to somewhat componentize the views, in order to move to React. For that, I would like to remove data-ng-include but retain their properties.

Example:

<div data-ng-include="'menuBar.html'"></div>

How do I include the menuBar HTML file in another in AngularJS, without ng-include?

I know, there are questions similar to this, but no definitive answer. If you know of a way, it would be awesome, thank you.

0

There are 0 answers