亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

angular.js - Using angularjs on the backend does not work. Is there a conflict or something? Does anyone have experience with it?
迷茫
迷茫 2017-05-15 17:00:51
0
1
633

I made it with springMVC, hibernate, etc. I started to make a lot of things with easyui, and then I wanted to try using angularjs to do some functions. However, after adding the angularjs file, angularjs was not included in the code. It works...

What exactly is a conflict? Or can't angularjs be used in jsp web pages?
There is very little information online....

Where is the conflict? Anyone have such experience? ?

Simple code: in a separate html file, run, no problem. The jsp added to the project will not work

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>

<p ng-app="">
  <p>名字 : <input type="text" ng-model="name"></p>
  <h1>Hello {{name}}</h1>
</p>

</body>
</html>

==========================================

It is very likely to conflict with easyui. I tried it in a project without easyui and it was no problem. It seems...Hey

迷茫
迷茫

業(yè)精于勤,荒于嬉;行成于思,毀于隨。

reply all(1)
Peter_Zhu

It may be that there is a scope conflict between two libraries or several libraries, but it has never been used like this before. Nowadays, many applications have separated the front-end and back-end, and the front-end adjusts the back-end interface to implement functions. It is recommended that you do not introduce too many front-end frameworks, otherwise even if you adjust it this time, future maintenance will be a big problem.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template