Questions for angularjs-directive