自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 过滤器current number date

$filter- $filterProvider- service in module ngFilters are used for formatting data displayed to the user.The general syntax in templates is as follows:{{ expression [| filter_name[:paramet

2014-11-24 06:23:04 424

原创 多个控制器内数据共享

通过$$prevSibling方法实现共享:JS页面:angular.module('myApp',[]).controller('firstController', function($scope){ $scope.date = { name: "Tom"

2014-11-24 06:15:50 569

原创 $provider里factory、service方法

总觉得英文文档写的比较直观:$provide- service in module autoThe $provide service has a number of methods for registering components with the $injector. Many of these functions are also exposed on an

2014-11-22 06:10:59 570

原创 $provide里的provider方法

定义服务$provider服务本身是一个任意的对象。ng

2014-11-22 02:10:03 436

原创 模块和控制器

什么是Module大部分的应用都有一个主方法(main)y

2014-11-20 07:25:44 1321

原创 购物车--购买数量问题

购买数量问题

2014-11-20 04:24:06 1091

原创 练习购物车2

搭完框架后,该去实现里面的功能了。首先

2014-11-20 02:29:57 520

原创 练习购物车

先去下载Bootstrap;

2014-11-19 00:57:25 378

原创 $watch

$watch在digest执行的时候,如果watch观察的

2014-11-18 11:53:22 502

原创 $scope里的$apply、$digest方法

什么是scope官方文档的解释:scope is an object that refers to the application model. It is an execution context for expressions. Scopes are arranged in hierarchical structure which mimic the DOM structure of

2014-11-18 11:25:31 1276

原创 多个控制器

先来个实例代码:

2014-11-18 02:49:49 391

原创 ng-bind

//{{name}}//{{age}}

2014-11-18 01:24:14 916

原创 AngularJS控制器

控制器

2014-11-17 15:04:21 385

原创 Data Binding

先搭建一下卡法环境,1

2014-11-17 04:06:25 315

原创 AngularJS简介

客户端模板AngularJS中,模板和数据都会呗发送到浏览器中,然后在ke'hu

2014-11-17 00:48:34 300

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除