I'm trying to keep things simple here. I have a menu built with Angular that uses a variable called "active"
<a class="about" href="#" ng-click="active='About Me'">About Me</a>
Then, there's a paragraph that displays the value of the active variable:
<p ng-show="active">You selected <b>{{active}}</b></p>
The challenge now is figuring out how to set up an if statement to check if "$active/{{active}}" equals "about me," and display a specific block of code accordingly. In other words, each link should populate the body with unique content.
Any ideas on how to tackle this?