We can't be the first noobs on the block who want to make custom buttons toggle in AngularJS
Link to our progress: http://jsbin.com/EHIrUrIQ/2/edit What we expect to happen: We hope we can click on the special button and it will toggle 3 things: 1. a value in $scope 2. its color 3. its image of glyph What we looked at for inspiration: http://mgcrea.github.io/angular-strap/#/#selects<http://www.google.com/url?q=http%3A%2F%2Fmgcrea.github.io%2Fangular-strap%2F%23%2F%23selects&sa=D&sntz=1&usg=AFQjCNHobpI5h_zP9ldjCy2twHjM8ql18w> -- it does not even have a directive. Calendar and time toggle buttons that change something else than them selves. We have just started using Angular and were hoping we could make a simple custom toggle button without having to understand directives completely. I really hope someone has done this kinda thing before. The app we have to build is full of toggle buttons like this. -- 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/groups/opt_out.
