I'm new to angular2-material and a bit confused :)
i want to use the toolbar component of angular2-material.
so far i installed using npm the following packages:
"@angular2-material/core": "^2.0.0-alpha.3" "@angular2-material/toolbar": "^2.0.0-alpha.3" and my application file contains the following:
<md-toolbar [color]="primary"> <span>My Application Title</span> </md-toolbar> and this now i define my component using typescript:
@Component({ selector: 'app', templateUrl: 'client/app.html' }) now I know that I need to somehow include the toolbar component that i installed and add it to a new directives property inside @Component decorator. but i can't find any examples on the net on how to do so.
all I can find is ng2-material examples at https://justindujardin.github.io/ng2-material/
for now.. do I have to use ng2-material? installing the angular2-material's core and the toolbar is not enough?
If I install ng2-material, do I need to remove the angular2-material core and toolbar components? do they work together?
any information regarding the issue would be greatly appreciated.