AngularJS Directive for twitter bootstrap form-group
问题 I've been playing with angular lately, so far so good, but im struggling with directives. I'm trying to create a directive that generates the html mark up for a standard bootstrap form group with its corresponding validation messages. So basically I'm trying to convert this: <form-group label="Password"> <input type="password" data-ng-model="vm.password" name="password" id="password" class="form-control form-control-validate" required data-ng-minlength="6" data-required-error="Password is