Angularjs: how to do javascript based modification in DOM -
i have small angular project, , modify view based on model modifications. however, not handled "ng-xxx" directives specific javascript code.
what pattern this?
i have 2 options:
- call in controller global javascript method (which bad!)
- watch in main page variable change , update view accordingly (a little bit better)
i try display part of model on openstreetmap view, question not specific osm (or leaflet)
Comments
Post a Comment