I installed angularJS's module (angular-bootstrap-switch) in my project but 
even if I follow the github instruction, nothing is showing in my html and 
I would appreciate some kind help.

Setup:

$ bower install angular-bootstrap-switch --save

In my index.html:

<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script><script 
src="bower_components/bootstrap-switch/dist/js/bootstrap-switch.js"></script><script
 
src="bower_components/angular-bootstrap-switch/dist/angular-bootstrap-switch.js"></script><link
 rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" 
/><link rel="stylesheet" 
href="bower_components/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.css"
 />

Input element (from the example 
<https://github.com/frapontillo/angular-bootstrap-switch/blob/develop/README.md#directive>
):

<input
    bs-switch
    ng-model="isSelected"
    type="checkbox"
    switch-active="true"
    switch-on-text="ON"
    switch-off-text="OFF"
    switch-on-color="primary"
    switch-off-color="default"
    switch-animate="true"
    switch-size="mini"
    switch-label="label"
    switch-icon="icon-save"
    switch-radio-off="true"
    ng-true-value="yep"
    ng-false-value="nope">

(note that I included static values for initial tests) It doesn't draw in 
the page, the only thing I see is a simple checkbox. How it should be 
declared?

-- 
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