Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs($templateCache): highlight the $templateCache service #11285

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ng/cacheFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ function $CacheFactoryProvider() {
* the document, but it must be a descendent of the {@link ng.$rootElement $rootElement} (IE,
* element with ng-app attribute), otherwise the template will be ignored.
*
* Adding via the $templateCache service:
* Adding via the ```$templateCache``` service:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why so many backticks ? (Do you really like them or is there another reason ?)
(Just being curious...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know that it's possible to use single backticks to format as code in markdown. 😄

*
* ```js
* var myApp = angular.module('myApp', []);
Expand Down