码迷,mamicode.com
首页 > Web开发 > 详细

the consideration of AngularJS in CSS, ng-model, Confirmation mechanism

时间:2017-03-26 14:36:05      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:ng-model   angularjs   

  1. In css:

    As we all know that CSS is static and we can only use it to make up our wedsite, while under the AngularJS, it becomes dynamic so that the function of it increases a lot. For example, helping users to notice the input box and reminding which stage they are can be achieved by static CSS.     

  2. In ng-model:

    It likes an index of the input content, which we can refer to in other places.


  3. Confirmation mechanism:

    The main idea of our website, I think, is to communicate with users. Therefore, making sure that all the information we got is valid and safe( to avoid the SQL injection) is a critical design, while, the AngularJS should a good choice. The built-in functions in AngularJS are quite useful. Like $error.email, $valid, $dirty ...


Overall, the AngularJS is a perfect framework of javascript. What it has done comes from javascript, thus, to make js much easier, I deserve AngularJS. 

本文出自 “11885445” 博客,请务必保留此出处http://11895445.blog.51cto.com/11885445/1910456

the consideration of AngularJS in CSS, ng-model, Confirmation mechanism

标签:ng-model   angularjs   

原文地址:http://11895445.blog.51cto.com/11885445/1910456

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!