Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/binux/qiandao
/ factory
Function
factory
web/static/components/angularjs/angular.js:3815–3815 ·
view source on GitHub ↗
(name, factoryFn)
Source
from the content-addressed store, hash-verified
3813
}
3814
3815
function
factory(name, factoryFn) {
return
provider(name, { $get: factoryFn }); }
3816
3817
function
service(name, constructor) {
3818
return
factory(name, [
'$injector'
,
function
($injector) {
Callers
5
intro.js
File · 0.85
ensure
Function · 0.85
service
Function · 0.85
value
Function · 0.85
getService
Function · 0.85
Calls
1
provider
Function · 0.85
Tested by
no test coverage detected