原文:AngularJs学习笔记--Understanding the Controller Component

原版地址:http: docs.angularjs.org guide dev guide.mvc.understanding model 在angular中,controller是一个javascript函数 type class ,被用作扩展除了rootscope在外的angularscope http: www.cnblogs.com lcllao archive .html 的实例。当我 ...

2012-09-25 00:56 3 5494 推荐指数:

查看详情

AngularJs学习笔记--Understanding the Model Component

原版地址:http://docs.angularjs.org/guide/dev_guide.mvc.understanding_model   在angular文档讨论的上下文中,术语“model”可以适用于单一对象代表一个实体(例如,一个叫” phones”的model,它的值是一个 ...

Mon Sep 24 20:20:00 CST 2012 0 3467
AngularJs学习笔记--Understanding Angular Templates

原版地址:http://docs.angularjs.org/guide/dev_guide.mvc.understanding_model   angular template是一个声明规范,与model、controller的信息一起,渲染成用户在浏览器中所看到的视图。它是 ...

Wed Sep 26 08:37:00 CST 2012 1 3913
angularjs component

Component https://docs.angularjs.org/guide/component component本质上就是directive。 This is a shorthand for registering a special type of directive ...

Sun May 07 02:50:00 CST 2017 0 5563
AngularJs学习笔记--directive

原版地址:http://code.angularjs.org/1.0.2/docs/guide/directive   Directive是教HTML玩一些新把戏的途径。在DOM编译期间,directives匹配HTML并执行。这允许directive注册行为或者转换DOM结构 ...

Sun Sep 09 10:29:00 CST 2012 16 65999
AngularJs学习笔记--expression

原版地址:http://code.angularjs.org/1.0.2/docs/guide/expression   表达式(Expressions)是类Javascript的代码片段,通常放置在绑定区域中(如{{expression}})。表达式通过$parse服务 ...

Sun Sep 16 09:09:00 CST 2012 4 7709
AngularJs学习笔记--Forms

原版地址:http://code.angularjs.org/1.0.2/docs/guide/forms   控件(input、select、textarea)是用户输入数据的一种方式。Form(表单)是这些控件的集合,目的是将相关的控件进行分组。   表单和控件提供了验证 ...

Mon Sep 17 09:31:00 CST 2012 0 15417
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM