Skip to content

Commit b625c46

Browse files
committed
docs: Update tutorial step 7 to the new API
1 parent 49f0a8c commit b625c46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.docs/angular-meteor/client/views/steps/tutorial.step_07.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ <h1>Step 7 - Folder structure</h1>
108108
8. Create a new file inside the client->parties->controllers folder called 'partiesList.js'. Cut the code for the PartiesListCtrl from app.js and place it in there.
109109
9. Create a new file inside the client->parties->controllers folder called 'partyDetails.js'. Cut the code for the PartyDetailsCtrl from app.js and place it in there.
110110
10. Move index.html into the 'client' folder.
111-
11. Move parties-list.html and party-details.html into the client->parties->views folder.
111+
11. Move parties-list.tpl and party-details.tpl into the client->parties->views folder.
112+
12. Update the templateUrl in the routes to our templates to - templateUrl: 'client/parties/views/party-details.tpl' and templateUrl: 'client/parties/views/parties-list.tpl'
113+
112114

113115
As you can see, everything is still working as before.
114116
We haven't needed to change any references in index.html like other frameworks. Meteor just takes care of all this.

0 commit comments

Comments
 (0)