I want to set one word in a sentence to have md-primary color, and another word to have the accent color. I assumed something like this:
Hel
This answer is outdated please check @factalspawn answer
With 'pure' angular-material you can't. But you can try usign this: https://gist.github.com/senthilprabhut/dd2147ebabc89bf223e7
The latests bits bring good news to this issue... This functionality has been added to the 1.1.0-rc3 (2016-04-13) version. It's not stable yet, but my first test on it are satisfactory.
Now you can use the mdColors directive and $mdColors service in conjunction with themes to achieve what you're looking for.
Please, take a look at:
https://github.com/angular/material/blob/master/CHANGELOG.md#110-rc3-2016-04-13
to see the announcement, and look for the mdColor directive and $mdColor service in the docs for some examples.
Anchor element () is reacting to the Angular Material current theme setting since version 1.0.0-rc1
: https://github.com/angular/material/blob/master/CHANGELOG.md#110-rc1-2016-03-09.