Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular-01.md
- does not show anything returns an error in the console:
- <intro productName="SpaceShipApp"></welcome>
- returns a blank page
- <intro></intro>
- returns the value that is stored with the json keyname name
- <intro productName="{{ name }}"></intro>
- [] is for binding from the value that is stored with the json keyname name, in the parent component to an @Input() in the child component. It allows to pass objects.
- <intro [productName]="{{ name }}"></intro>
- [] is for binding from the value(which is the string name) in the parent component to an @Input() in the child component. It allows to pass objects.
- <intro [productName]="name"></intro>
- return the text 'name'
- <intro productName=" 'name' "></intro>
- returns the the value that is stored with the json keyname name
- <intro productName="{{'name'}}"></intro>
- is for binding an event handler to be called when a DOM event is fired or an EventEmitter on the child component emits an event return the text name
- <intro (productName)="name"></intro>
- angular-02.md
- Which of the following statements about the routers behavior are correct?
- The home component can only be accessed via the root URL redirect.
- false as { path: '', redirectTo: '/home', pathMatch: 'full' }, sets the default path to the home component
- The id parameter is optional when a call is made to the /detail/ URL.
- false an id is required to proceed to the ItemDetailComponent Component
- Optional parameters can be passed to any component via the query parameters of the ActivatedRoute.
- true
- /detail/100 will use the to determine the position of the view.
- true
- Specifying an outlet name is a requirement for a component with multiple outlet routes.
- True if there is multiply outlet routes one must be selected such as 'route1'
Add Comment
Please, Sign In to add comment