Fix input bar

5cd36f0 introduced a regression by removing the input bar id

this PR adds the input bar id as an attribute of the directive