Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SYST 2 4 4 4 4 Assignment # 2 ( 1 0 % ) Create a new Angular app called A 2 yourloginname ( ex

SYST 24444 Assignment #2(10%)
Create a new Angular app called A2yourloginname (ex. A2doejane)- NOTE: Marks off if not named as specified
o Use New Angular Application With Material in the Angular References Module on starting a new project with defaults.
This will be a mobile assignment formatted for landscape view only
Note: Styling included is mostly for testing Angular concepts and mobile layout
o Include a data folder in the assets folder
o Download Assignment02.zip that will include the JSON file and a .txt file
Copy the Assignment02.json file into the assets/data folder and open the A2Info.txt file
Include the code in the A2Info.txt file to update the tsconfig.json file
Update the Assignment02.json file to include your personal/Sheridan information where indicated AND update the myBooks array with your own data (Note: published field is a number data type)
o NOTE: You may want to validate the file after making changes (jsonlint.com)
Create a file called yourusenameInterface.ts in the app folder and include interfaces for the following:
o a2Personal information myBooks array structure campusData array structure
In app.component.ts (parent), import ALL your interfaces AND the JSON file
o Include a variable called yourloginnamePersonal to hold your personal data from the JSON file
o Include a variable called yourloginnameBooks to hold the book data from the JSON file (remember, this will be an array variable)
o Include a variable called yourloginnameCampus to hold the campus data from the JSON file (remember, this will be an array variable)
Create a header component called header-yourloginname and a footer component called footer-yourloginname and include in app.component.html:
o Use the Sharing procedure to pass your personal information only included in the JSON file from the app component to both header and footer components. The variable in both components to accept shared data must be called yourloginnameMyData
o Header: Add a header element (I would suggest an

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 18th International Conference Dasfaa 2013 Wuhan China April 22 25 2013 Proceedings Part 2 Lncs 7826

Authors: Weiyi Meng ,Ling Feng ,Stephane Bressan ,Werner Winiwarter ,Wei Song

2013th Edition

3642374492, 978-3642374494

More Books

Students also viewed these Databases questions