diff options
| author | Tim Ruffles | 2013-10-06 23:01:03 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-10-10 16:43:12 +0100 |
| commit | 3eb2fbf74533639a376c572d4aad767e80d2c209 (patch) | |
| tree | 0fef648bbbe3eb828d72c029de4d76b879352e4f /test/ng/urlUtilsSpec.js | |
| parent | cbd69db29240b3bf2bf3ebfa15ff1c01104a4ffb (diff) | |
| download | angular.js-3eb2fbf74533639a376c572d4aad767e80d2c209.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/ng/urlUtilsSpec.js')
0 files changed, 0 insertions, 0 deletions
