extracted to container to directive
added restrict