Expanded functionality my own directives for bootstrap