Skip to content

Instantly share code, notes, and snippets.

Jermaine Maragh maragh

  • North Hollywood, CA
Block or report user

Report or block maragh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
maragh / angular-directive-navmenu.js
Created Sep 23, 2015 — forked from edy/angular-directive-navmenu.js
AngularJS directive to mark navigation menu items as active
View angular-directive-navmenu.js
'use strict';
// <ul nav-menu="active">
// <li><a href="/one">Page One</a></li>
// <li><a href="/two">Page Two</a></li>
// <li><a href="/three">Page Three</a></li>
// </ul>
app.directive('navMenu', function($location) {
return function(scope, element, attrs) {
You can’t perform that action at this time.