aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorTim Ruffles2013-10-06 23:01:03 +0100
committerPete Bacon Darwin2013-10-10 18:22:51 +0100
commit85b7d24357a59876810d8b2494bd2bfbb920a5da (patch)
treee27b9adb88b911c484ac55e1ae893f31edfe87d0 /example
parent8469779a8e18ebf8ff90072872735b1730fdcc70 (diff)
downloadangular.js-85b7d24357a59876810d8b2494bd2bfbb920a5da.tar.bz2
docs($provide): improve examples and explanations
$provide's example seems awkward. Replace with more real-world example, using an injected service, where the service defined has a good reason to be a singleton. There's quite a lot of confusion around $provide: http://stackoverflow.com/search?q=angularjs+service+vs+factory Tests for example at: http://jsbin.com/EMabAv/1/edit?js,output
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions