diff options
| author | Tim Ruffles | 2013-10-06 23:01:03 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-10-10 18:22:51 +0100 | 
| commit | 85b7d24357a59876810d8b2494bd2bfbb920a5da (patch) | |
| tree | e27b9adb88b911c484ac55e1ae893f31edfe87d0 /test/loaderSpec.js | |
| parent | 8469779a8e18ebf8ff90072872735b1730fdcc70 (diff) | |
| download | angular.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 'test/loaderSpec.js')
0 files changed, 0 insertions, 0 deletions
