I have created this http://jsfiddle.net/rmohan/cjq7jgkn/4/

I think in that code the 'select-bootstrap' style is not applied. It is 
applied in my desktop code.

But once it applies then we have several lines of div's and a button 
created by select-bootstrap. So if I use class="selectpicker ng-class:{ 
redborder: valid };" I want a red border to show that the data is invalid.

If I apply it like this

       <select ng-model="item"  data-style="btn-inverse" 
class="selectpicker redborder"  ng-options="item.code as item.name for item 
in items">
                 <option value="">Select Service</option>
        </select>

then the div surrounding it is not styled. So the border is not applied 
around the component.

Mohan

On Wednesday, 25 February 2015 13:19:44 UTC+5:30, Sander Elias wrote:
>
> Mohan,
>
> Well, there are always alternatives 
> <http://techslides.com/30-code-playgrounds-and-sharing-tools> to plunker. 
> (That link lists 30 of them!)
>
> And yes, that is an valid way to style an element.
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to