wonderfan / javascript

Explore the power of HTML,CSS and JavaScript
1 stars 0 forks source link

AngularJS with FireBase #67

Closed wonderfan closed 8 years ago

wonderfan commented 8 years ago

声明firebase module,然后使用value方法把window对象上的firebase吸收进来;

使用firebase module,创建factory方法,在方法体中抛出一个错误;

使用module,创建名称为firebaseobject的factory对象;依赖的对象有parse,firebaseutils和log;在方法体中,返回一个构造函数;在这个构造函数的prototype上放置数据的操作方法;

wonderfan commented 8 years ago

It is easy to implement the data storage in the AngularJS framework.