1.在写一个新页面的时候,编写控制器的时候会出现错误

这个错误是由于在首页没有引入js文件导致的。
2.获取时间

3.动态创建新的一行
    
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
   | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>     
 <title>test</title>
     <style type="text/css">
 body {         background: #FFFFFF;     }
      
    </style>     
     <script type="text/javascript">         function add() {         var oTr = document.getElementById("addtr").rows[1];         var newTr = oTr.cloneNode(true);         document.getElementById("addtr").getElementsByTagName("tbody")[0].appendChild(newTr);         newTr.cells[0].firstChild.value = newTr.rowIndex;         document.getElementById("b1").disabled = newTr.rowIndex == 5;     }     </script>     
 </head> 
 <body>
<input type="button" id="b1" value="添加一行" onclick="add()"/>
 <table width="700" border="0" cellspacing="0" cellpadding="0" id="addtr">
     <tr>
         <td height="30" align="center" bgcolor="#CCCCCC">ID</td>         
         <td align="center" bgcolor="#CCCCCC">Username</td>         
         <td align="center" bgcolor="#CCCCCC">Usertype</td>         
         <td align="center" bgcolor="#CCCCCC">Other</td>         
     </tr>     
     <tr>
         <td height="30" align="center"><input type="text" size="2" value="1"/></td>         
         <td align="center"><input type="text" name="username"/></td>         
         <td align="center">
 <select name="type">
             <option value="1">Administrator</option>             
 </select>
         </td>         
         <td align="center"><input type="text" name="username2"/></td>         
     </tr>     
 </table> 
 </body> 
 </html>
   | 
 
        
4.在详情页取前一个页面的数据的时候,用loaclcache存储之后再取出来。在头部要引入localcache模块。否则报错
lendApprovalDetail
downloadLoanInstruction**、**
lendInstruction
lendConfirmManual
lendConfirmAuto
lendBatchDetail
5.在列表中某些值需要根据同行的一些值进行显示或者隐藏要这么做
在ng-if上进行判断。
6.外部div根据内部的div大小改变
外部div,css添加上overflow:auto
7.日期选择控件,点击按钮打开,点击按钮收起,只要在点击事件中修改$scope.opened1 = !$scope.opened1;