create button
moved button creation to directive and template