初学angularJS 闲暇之余做了个小案例。
功能:计算购物车商品的价格,以及删除购物车商品。
以下是完整案例(jQuery和angularjs需要自己引入)
<!doctype html>
<html ng-app="myApp">
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
.cursors{cursor:pointer}
</style>
[removed][removed]
[removed][removed]