0
我有一些厂:调用父方法
app.factory('myFactory', function() {
return {
property1: "str",
property2: "str",
property3: "str",
func: function() {/*....*/},
childObj:{
prop1: "str",
prop2: "str",
childFunc: function() {
//....;
func();
}
}
}
})
我能叫孩子方法内部父工厂方法?
谢谢U,我会做像你说的) – RoGGeR