Search code examples
javascriptangularjsangular-strap

Using AngularStrap with AngularMaterial


I have a form created with AngularMaterial elements.

There is no time picker in ngMaterial though so I decided to use AngularStrap.

It is working well except from the visual aspect. The time picker input does no look like the rest of the ngMaterial inputs.

Is there a way to fix this, and make the AngularStrap input elements styled as the rest of my form, using ngMaterial?


Solution

  • That should do it but you might need to do some small css update to get everything neat :

    <md-input-container> 
        <label>date</label> 
        <input ng-model="myDate" type="email" data-min-date="{{fromDate}}" placeholder="Until" bs-datepicker> 
    </md-input-container>