This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Doc examples: 'Edit in Plunker' links don't always give you working code #1728
Closed
Description
Ex: http://docs.angularjs.org/api/ng.directive:ngView
There are two issues there:
- Apparently there's a problem with the Plunker API that "doesn't take module names
into account". I'm not entirely certain what the exact problem is, or if there's a way to build the example that works around it; see this discussion for a little more info:
https://groups.google.com/forum/?fromgroups=#!topic/angular/ng6LGzr53po
Of course if there's an issue with that external API, it would need to be fixed there, if it can't be worked around. - The code example uses HTML5 router mode, arguably best practice, but it requires server setup that Plunker/JSFiddle won't have. Suggest a simple note to that effect next to the sample, describing the (hopefully simple) changes needed to work on the sharing sites.