Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b000f1

Browse files
fix: format
1 parent f9082a7 commit 0b000f1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

‎content/tutorials/build-a-master-detail-app-with-angular.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To get the most out of this tutorial you should already have a basic understandi
3333

3434
Components form the basic building blocks of an Angular application. Components represent the pages and views that the user interacts with. NativeScript Angular follows the same concept with the difference being primarily within the component's HTML template layer and its styling.
3535

36-
You'll build a master-detail app that displays a list of musicals and allows you to navigate to a details page to view more information about each musical.
36+
You'll build a master-detail app that displays a list of musicals and allows you to navigate to a details page to view more information about each musical.
3737

3838
![Example app preview](/assets/images/tutorial/tutorial-example-app-preview.png)
3939

@@ -108,11 +108,14 @@ Let's start with creating the files for our home feature with the following cont
108108
// src/features/home/home.ts
109109

110110
import { Component } from '@angular/core'
111-
import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'
111+
import {
112+
NativeScriptCommonModule,
113+
NativeScriptRouterModule,
114+
} from '@nativescript/angular'
112115

113116
@Component({
114-
selector: "ns-home",
115-
templateUrl: "home.html",
117+
selector: 'ns-home',
118+
templateUrl: 'home.html',
116119
imports: [NativeScriptCommonModule, NativeScriptRouterModule],
117120
schemas: [NO_ERRORS_SCHEMA],
118121
})
@@ -445,8 +448,8 @@ import { Component } from '@angular/core'
445448
import { NativeScriptCommonModule } from '@nativescript/angular'
446449

447450
@Component({
448-
selector: "ns-details",
449-
templateUrl: "details.html",
451+
selector: 'ns-details',
452+
templateUrl: 'details.html',
450453
imports: [NativeScriptCommonModule],
451454
schemas: [NO_ERRORS_SCHEMA],
452455
})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /