javascript - Display a JSP page from a URL in a modal popup in AngularJS -


i trying load jsp page inside modal in angularjs.

the jsp page have lot of scripts , wont able take source , create separate template. url different server have cors enabled in server. there someway can include file in div using ng-include src=""? tried not working. can recommend solution?

you not writing valid code code should this:

<div ng-include="'file path'"></div> 

note: make sure of single inverted comma within double inverted comma. , file path can of absolute path. not write src while using ng-include.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -