I created a reusable component with directive as follows:
app.directive("menu", function () {
    return {
        restrict: 'AE',
        templateUrl: '/menu.html',
        scope: {
            title: '=title'
        }
    };
});
menu.html:
<div>{{title}}</div>
Obviously I want to pass the title property from outside and show is in within the menu.html.
Usage in main.html:
<div menu title="test"></div>
Result: the lable is not resolved. Why?
 
     
     
    