testing custom-components (angular directives like approach)