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.
In ng-model:
It likes an index of the input content, which we can refer to in other places.
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.
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。