working on model bind and directive bind