3

So all of my other angular material related items are functioning properly. However, the Nav bar is refusing to load properly. Here's my code.

<md-nav-bar>
<md-nav-item md-nav-href="#/" name="page3">Home</md-nav-item>
<md-nav-item md-nav-href="#/about" name="page3">About</md-nav-item>
</md-nav-bar>

Yet the output is as though it were just plain text. I've tested it on the example codepen for the element and it works properly. I've tropple checked my code and can fuind no obvious issues.

Any and all help is welcome.

1
  • are you loading it in a md-content ? Commented Jun 17, 2016 at 8:45

2 Answers 2

4

I found the solution. The issue was that the bower package was an outdated version. Simply including the CDN code fixed the problem.

Sign up to request clarification or add additional context in comments.

Comments

0

use md-tabs instead gives the same effect when used with ui-router...... i tried it for hours and got nothing on md-menu and md-nav-bar both ,,,,,, i think the above solution for including the cdn libraries is good .... but i recommend md-tabs for good results

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.