scope is created for directive and updated template for bootstrap3