angular.module("baseApp", [])
directive("theNav", [function(){
return{
restrict: "A",
scope: {},
controller: function($scope){
$scope.showMe = {
isNavDisplayed: true
}
}
}
}])
.directive("toggleNav", [function(){
return{
require: "^theNav",
restrict: "A",
link: function(scope, elem, attrs){
}
}
}])