changed settings/faires to work on angular models instead of crazy jquery dom manipulation