controller directive view