docs(style-guide): a service doesn't have a folder

closes #1481
This commit is contained in:
Foxandxss 2016-05-23 15:33:06 +02:00 committed by Ward Bell
parent 0e13763943
commit 020abd810f
4 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { ToastService } from './shared/toast/toast.service';
import { ToastService } from './shared/toast.service';
@Component({
selector: 'sg-app',

View File

@ -736,10 +736,10 @@ a(href="#toc") Back to top
:marked
**Why?** TypeScript tooling makes it easy to identify private vs public properties and methods.
+makeExample('style-guide/ts/03-04/app/shared/toast/toast.service.avoid.ts', 'example', 'app/shared/toast/toast.service.ts')(avoid=1)
+makeExample('style-guide/ts/03-04/app/shared/toast.service.avoid.ts', 'example', 'app/shared/toast.service.ts')(avoid=1)
:marked
+makeExample('style-guide/ts/03-04/app/shared/toast/toast.service.ts', 'example', 'app/shared/toast/toast.service.ts')
+makeExample('style-guide/ts/03-04/app/shared/toast.service.ts', 'example', 'app/shared/toast.service.ts')
:marked
a(href="#toc") Back to top